summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorhobbs <hobbs@noemail.net>2005-10-16 02:36:45 (GMT)
committerhobbs <hobbs@noemail.net>2005-10-16 02:36:45 (GMT)
commitb6b57b0d816b7d02a5441986b070f3abf31dc854 (patch)
tree48ec59ae316678b266dc1ee20483da81ff89b3e5 /library
parentec8f01bf79524e081f2ad645bd31a987463488b4 (diff)
downloadtk-b6b57b0d816b7d02a5441986b070f3abf31dc854.zip
tk-b6b57b0d816b7d02a5441986b070f3abf31dc854.tar.gz
tk-b6b57b0d816b7d02a5441986b070f3abf31dc854.tar.bz2
* library/menu.tcl (::tk::MenuUnpost): remove leftover ] from
string equal mods of 2005-07-25. (sowadsky) FossilOrigin-Name: e7b9feb310523aabf0a0fb4de8ab50f335d74c7b
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