summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2003-11-18 23:39:43 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2003-11-18 23:39:43 (GMT)
commitdd1e39d531471579d02eb6c9b0ce4205a42d7e34 (patch)
tree239ef191c5c60039c5ccf26be04e875ce2c2044d /generic
parent7af2e46f13299ff7016bcb17e5bf20725aa25935 (diff)
downloadtk-dd1e39d531471579d02eb6c9b0ce4205a42d7e34.zip
tk-dd1e39d531471579d02eb6c9b0ce4205a42d7e34.tar.gz
tk-dd1e39d531471579d02eb6c9b0ce4205a42d7e34.tar.bz2
Stupid typo fix. [Bug 843395]
Diffstat (limited to 'generic')
-rw-r--r--generic/tkMenuDraw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkMenuDraw.c b/generic/tkMenuDraw.c
index d2c022a..ba34460 100644
--- a/generic/tkMenuDraw.c
+++ b/generic/tkMenuDraw.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkMenuDraw.c,v 1.6 2003/11/13 16:07:06 dkf Exp $
+ * RCS: @(#) $Id: tkMenuDraw.c,v 1.7 2003/11/18 23:39:43 dkf Exp $
*/
#include "tkMenu.h"
@@ -1010,7 +1010,7 @@ TkPostSubmenu(interp, menuPtr, mePtr)
subary[0] = mePtr->namePtr;
subary[1] = Tcl_NewStringObj("post", -1);
subary[2] = Tcl_NewIntObj(x);
- subary[3] = Tcl_NewIntObj(x);
+ subary[3] = Tcl_NewIntObj(y);
Tcl_IncrRefCount(subary[1]);
Tcl_IncrRefCount(subary[2]);
Tcl_IncrRefCount(subary[3]);