summaryrefslogtreecommitdiffstats
path: root/library/optMenu.tcl
diff options
context:
space:
mode:
authorwelch <welch@noemail.net>1998-06-27 18:06:37 (GMT)
committerwelch <welch@noemail.net>1998-06-27 18:06:37 (GMT)
commita666fb3d6fa6f1ae0921e33edb142295062e2296 (patch)
tree759f8786c82028afeb67bd971309b7b328d81d7f /library/optMenu.tcl
parent9e54810ab83431d4976021d15005c5fe8b4bab5a (diff)
downloadtk-a666fb3d6fa6f1ae0921e33edb142295062e2296.zip
tk-a666fb3d6fa6f1ae0921e33edb142295062e2296.tar.gz
tk-a666fb3d6fa6f1ae0921e33edb142295062e2296.tar.bz2
plugin updates
FossilOrigin-Name: a31d73e5fbaa868008186067e2535e2f9c3140a0
Diffstat (limited to 'library/optMenu.tcl')
-rw-r--r--library/optMenu.tcl2
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 \