summaryrefslogtreecommitdiffstats
path: root/library/tkfbox.tcl
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2009-04-14 18:09:50 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2009-04-14 18:09:50 (GMT)
commitf75354b91860d456436d24bafb13c80b204f00d4 (patch)
treea748b1681b8b336e79171ab699973bc5d0cee1ac /library/tkfbox.tcl
parente3e011e82f709cb9995c172a106650db084b2360 (diff)
downloadtk-f75354b91860d456436d24bafb13c80b204f00d4.zip
tk-f75354b91860d456436d24bafb13c80b204f00d4.tar.gz
tk-f75354b91860d456436d24bafb13c80b204f00d4.tar.bz2
Make filebox.test pass cleanly again.
Diffstat (limited to 'library/tkfbox.tcl')
-rw-r--r--library/tkfbox.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/tkfbox.tcl b/library/tkfbox.tcl
index 8030e79..29fc665 100644
--- a/library/tkfbox.tcl
+++ b/library/tkfbox.tcl
@@ -10,7 +10,7 @@
# "Directory" option menu. The user can select files by clicking on the
# file icons or by entering a filename in the "Filename:" entry.
#
-# RCS: @(#) $Id: tkfbox.tcl,v 1.73 2009/04/13 21:12:52 dkf Exp $
+# RCS: @(#) $Id: tkfbox.tcl,v 1.74 2009/04/14 18:09:50 dkf Exp $
#
# Copyright (c) 1994-1998 Sun Microsystems, Inc.
#
@@ -1133,7 +1133,7 @@ proc ::tk::dialog::file::Done {w {selectFilePath ""}} {
&& [info exists data(-filetypes)] && [llength $data(-filetypes)]
&& [info exists data(filterType)] && $data(filterType) ne ""
} then {
- upvar 3 $data(-typevariable) initialTypeName
+ upvar 4 $data(-typevariable) initialTypeName
set initialTypeName [lindex $data(filterType) 0]
}
}