summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorhobbs <hobbs>2005-10-16 02:36:45 (GMT)
committerhobbs <hobbs>2005-10-16 02:36:45 (GMT)
commitcf40220fdf64f3dab5c005570e1ff0ceb74cc5d5 (patch)
tree48ec59ae316678b266dc1ee20483da81ff89b3e5 /library
parentf5a70d014430906e4ab88903756b8015a6361882 (diff)
downloadtk-cf40220fdf64f3dab5c005570e1ff0ceb74cc5d5.zip
tk-cf40220fdf64f3dab5c005570e1ff0ceb74cc5d5.tar.gz
tk-cf40220fdf64f3dab5c005570e1ff0ceb74cc5d5.tar.bz2
* library/menu.tcl (::tk::MenuUnpost): remove leftover ] from
string equal mods of 2005-07-25. (sowadsky)
Diffstat (limited to 'library')
-rw-r--r--library/menu.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/menu.tcl b/library/menu.tcl
index 5589475..311f14d 100644
--- a/library/menu.tcl
+++ b/library/menu.tcl
@@ -4,7 +4,7 @@
# It also implements keyboard traversal of menus and implements a few
# other utility procedures related to menus.
#
-# RCS: @(#) $Id: menu.tcl,v 1.22 2005/07/25 09:06:00 dkf Exp $
+# RCS: @(#) $Id: menu.tcl,v 1.23 2005/10/16 02:36:45 hobbs Exp $
#
# Copyright (c) 1992-1994 The Regents of the University of California.
# Copyright (c) 1994-1997 Sun Microsystems, Inc.
@@ -426,7 +426,7 @@ proc ::tk::MenuUnpost menu {
$parent postcascade none
GenerateMenuSelect $parent
set type [$parent cget -type]
- if {$type eq "menubar" || $type eq "tearoff"]} {
+ if {$type eq "menubar" || $type eq "tearoff"} {
break
}
set menu $parent