summaryrefslogtreecommitdiffstats
path: root/win/tkWinWm.c
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2008-10-06 21:57:21 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2008-10-06 21:57:21 (GMT)
commit8aadca6228eed2a32423fe15b698702eae6d1096 (patch)
tree451bebff064f64d6832ab7d318fa4f8c0dd8fc94 /win/tkWinWm.c
parent944ea0cc0724bcc8ec6376873897663b7c77d6bf (diff)
downloadtk-8aadca6228eed2a32423fe15b698702eae6d1096.zip
tk-8aadca6228eed2a32423fe15b698702eae6d1096.tar.gz
tk-8aadca6228eed2a32423fe15b698702eae6d1096.tar.bz2
Corrected some errors from the previous commit
Diffstat (limited to 'win/tkWinWm.c')
-rw-r--r--win/tkWinWm.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/win/tkWinWm.c b/win/tkWinWm.c
index db347bd..f9346eb 100644
--- a/win/tkWinWm.c
+++ b/win/tkWinWm.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkWinWm.c,v 1.129 2008/10/05 18:22:22 dkf Exp $
+ * RCS: @(#) $Id: tkWinWm.c,v 1.130 2008/10/06 21:57:21 patthoyts Exp $
*/
#include "tkWinInt.h"
@@ -3019,7 +3019,7 @@ WmAspectCmd(
if (wmPtr->sizeHintsFlags & PAspect) {
Tcl_SetObjResult(interp, Tcl_ObjPrintf("%d %d %d %d",
wmPtr->minAspect.x, wmPtr->minAspect.y,
- wmPtr->maxAspect.x, wmPtr->maxAspect.y);
+ wmPtr->maxAspect.x, wmPtr->maxAspect.y));
}
return TCL_OK;
}
@@ -3809,8 +3809,6 @@ WmGeometryCmd(
wmPtr->x = result >> 16;
wmPtr->y = result & 0x0000ffff;
}
- x = wmPtr->x;
- y = wmPtr->y;
Tcl_SetObjResult(interp, Tcl_ObjPrintf("%dx%d%c%d%c%d",
width, height, xSign, wmPtr->x, ySign, wmPtr->y));
return TCL_OK;