summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorredman <redman@noemail.net>1999-07-22 16:31:48 (GMT)
committerredman <redman@noemail.net>1999-07-22 16:31:48 (GMT)
commit8502ea91651b2ef1c5cb798b54c6e694f81f6479 (patch)
treef8938cae80b1316e334329f0ecbdcf3a43ee7f38 /library
parent1ee5d6a46134a95cbc48eec9996a67a480c33a5f (diff)
downloadtk-8502ea91651b2ef1c5cb798b54c6e694f81f6479.zip
tk-8502ea91651b2ef1c5cb798b54c6e694f81f6479.tar.gz
tk-8502ea91651b2ef1c5cb798b54c6e694f81f6479.tar.bz2
Applied patch from Jeff Hobbs to fix typo in menu.tcl [Bug: 2425]
FossilOrigin-Name: 75e381f669f15f813002687008f1c59dae4adc94
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 177de2b..6c4e153 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.6 1999/05/07 20:05:40 stanton Exp $
+# RCS: @(#) $Id: menu.tcl,v 1.7 1999/07/22 16:31:48 redman Exp $
#
# Copyright (c) 1992-1994 The Regents of the University of California.
# Copyright (c) 1994-1997 Sun Microsystems, Inc.
@@ -934,7 +934,7 @@ proc tkMenuFind {w char} {
[$child cget -underline]]
if {![string compare $char [string tolower $char2]]
|| ![string compare $char ""]} {
- if {[string compare [$child cget $i -state] "disabled"]} {
+ if {[string compare [$child cget -state] "disabled"]} {
return $child
}
}