diff options
Diffstat (limited to 'library/optMenu.tcl')
-rw-r--r-- | library/optMenu.tcl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/optMenu.tcl b/library/optMenu.tcl index 32ca096c..bf9768c 100644 --- a/library/optMenu.tcl +++ b/library/optMenu.tcl @@ -30,7 +30,7 @@ proc tk_optionMenu {w varName firstValue args} { upvar #0 $varName var - if ![info exists var] { + if {![info exists var]} { set var $firstValue } menubutton $w -textvariable $varName -indicatoron 1 -menu $w.menu \ |