diff options
author | redman <redman> | 1999-07-22 16:31:48 (GMT) |
---|---|---|
committer | redman <redman> | 1999-07-22 16:31:48 (GMT) |
commit | fb91bc16ea5815f68a31637a88c265fc3efe74eb (patch) | |
tree | f8938cae80b1316e334329f0ecbdcf3a43ee7f38 | |
parent | 4db5947bf5b968cca2974ac31288c6ceb6e83e7a (diff) | |
download | tk-fb91bc16ea5815f68a31637a88c265fc3efe74eb.zip tk-fb91bc16ea5815f68a31637a88c265fc3efe74eb.tar.gz tk-fb91bc16ea5815f68a31637a88c265fc3efe74eb.tar.bz2 |
Applied patch from Jeff Hobbs to fix typo in menu.tcl [Bug: 2425]
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | library/menu.tcl | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +1999-07-22 <redman@scriptics.com> + + * library/menu.tcl: Applied patch from Jeff Hobbs to fix typo. + [Bug: 2425] + 1999-07-21 <redman@scriptics.com> * unix/Makefile.in: Add Windows configure script to distribution. 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 } } |