summaryrefslogtreecommitdiffstats
path: root/library/menu.tcl
diff options
context:
space:
mode:
authorhobbs <hobbs>2005-10-16 02:36:45 (GMT)
committerhobbs <hobbs>2005-10-16 02:36:45 (GMT)
commit10c0dd06cc2caac96d214de4918e7eac96356499 (patch)
tree48ec59ae316678b266dc1ee20483da81ff89b3e5 /library/menu.tcl
parent5532e0de4869477675d9f6bcf1962cc817588e71 (diff)
downloadtk-10c0dd06cc2caac96d214de4918e7eac96356499.zip
tk-10c0dd06cc2caac96d214de4918e7eac96356499.tar.gz
tk-10c0dd06cc2caac96d214de4918e7eac96356499.tar.bz2
* library/menu.tcl (::tk::MenuUnpost): remove leftover ] from
string equal mods of 2005-07-25. (sowadsky)
Diffstat (limited to 'library/menu.tcl')
-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