Tk Source Code

Artifact [d78f6691]
Login

Artifact d78f66918b260e6ca4ecd96a753c8b9c2832f002:

Attachment "choosedir-1.patch" to ticket [1550513f] added by nobody 2006-09-01 20:15:03.
--- choosedir.tcl.orig	2006-09-01 08:47:47.000003000 -0400
+++ choosedir.tcl	2006-09-01 08:46:25.000002000 -0400
@@ -211,7 +211,7 @@
 	if { [string equal $text ""] } {
 	    return
 	}
-	set text [eval file join [file split [string trim $text]]]
+	set text [file join $data(selectPath) $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