diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2009-04-14 18:09:50 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2009-04-14 18:09:50 (GMT) |
commit | f75354b91860d456436d24bafb13c80b204f00d4 (patch) | |
tree | a748b1681b8b336e79171ab699973bc5d0cee1ac /library/xmfbox.tcl | |
parent | e3e011e82f709cb9995c172a106650db084b2360 (diff) | |
download | tk-f75354b91860d456436d24bafb13c80b204f00d4.zip tk-f75354b91860d456436d24bafb13c80b204f00d4.tar.gz tk-f75354b91860d456436d24bafb13c80b204f00d4.tar.bz2 |
Make filebox.test pass cleanly again.
Diffstat (limited to 'library/xmfbox.tcl')
-rw-r--r-- | library/xmfbox.tcl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/xmfbox.tcl b/library/xmfbox.tcl index 53bfd17..803d0ec 100644 --- a/library/xmfbox.tcl +++ b/library/xmfbox.tcl @@ -4,7 +4,7 @@ # Unix platform. This implementation is used only if the # "::tk_strictMotif" flag is set. # -# RCS: @(#) $Id: xmfbox.tcl,v 1.32 2009/04/13 21:12:52 dkf Exp $ +# RCS: @(#) $Id: xmfbox.tcl,v 1.33 2009/04/14 18:09:50 dkf Exp $ # # Copyright (c) 1996 Sun Microsystems, Inc. # Copyright (c) 1998-2000 Scriptics Corporation @@ -864,7 +864,7 @@ proc ::tk::MotifFDialog_ActivateSEnt {w} { # Return selected filter if {[info exists data(-typevariable)] && $data(-typevariable) ne "" && [info exists data(-filetypes)] && $data(-filetypes) ne ""} { - upvar 1 $data(-typevariable) initialTypeName + upvar 2 $data(-typevariable) initialTypeName set initialTypeName [lindex $data(-filetypes) $data(fileType) 0] } |