From dd1e39d531471579d02eb6c9b0ce4205a42d7e34 Mon Sep 17 00:00:00 2001 From: dkf Date: Tue, 18 Nov 2003 23:39:43 +0000 Subject: Stupid typo fix. [Bug 843395] --- generic/tkMenuDraw.c | 4 ++-- 1 file 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]); -- cgit v0.12