diff options
author | dgp <dgp@users.sourceforge.net> | 2007-05-16 18:10:34 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2007-05-16 18:10:34 (GMT) |
commit | 2175fd4d04e6c0088b9adfac510d6b7603686997 (patch) | |
tree | 064a406739ab677cf5bcb77107f0e569b8f6a0fe /library/choosedir.tcl | |
parent | 67e948d9e2500d26778cd5605eebc2b265e08900 (diff) | |
download | tk-2175fd4d04e6c0088b9adfac510d6b7603686997.zip tk-2175fd4d04e6c0088b9adfac510d6b7603686997.tar.gz tk-2175fd4d04e6c0088b9adfac510d6b7603686997.tar.bz2 |
* library/choosedir.tcl: Removed uses of obsolete {expand}
* library/comdlg.tcl: syntax; replaced with the now
* library/tk.tcl: approved {*}. [Bug 1710633]
* tests/canvImg.test:
* tests/imgPhoto.test:
Diffstat (limited to 'library/choosedir.tcl')
-rw-r--r-- | library/choosedir.tcl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/choosedir.tcl b/library/choosedir.tcl index d5165f6..35cb4e8 100644 --- a/library/choosedir.tcl +++ b/library/choosedir.tcl @@ -5,7 +5,7 @@ # Copyright (c) 1998-2000 by Scriptics Corporation. # All rights reserved. # -# RCS: @(#) $Id: choosedir.tcl,v 1.19 2006/01/25 18:22:04 dgp Exp $ +# RCS: @(#) $Id: choosedir.tcl,v 1.20 2007/05/16 18:10:35 dgp Exp $ # Make sure the tk::dialog namespace, in which all dialogs should live, exists namespace eval ::tk::dialog {} @@ -212,7 +212,7 @@ proc ::tk::dialog::file::chooseDir::OkCmd {w} { if {$text eq ""} { return } - set text [file join {expand}[file split [string trim $text]]] + set text [file join {*}[file split [string trim $text]]] if {![file exists $text] || ![file isdirectory $text]} { # Entry contains an invalid directory. If it's the same as the # last time they came through here, reset the saved value and end |