summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2009-12-22 18:16:04 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2009-12-22 18:16:04 (GMT)
commit6e683f351e982a50efe5f7389c91624e5194a3ff (patch)
tree1b0e0ad76b3d48ae54d6975ac0add779cb5a84d3 /library
parent32bdae3b8c13ce1ad188318ebb50cb79b5109268 (diff)
downloadtk-6e683f351e982a50efe5f7389c91624e5194a3ff.zip
tk-6e683f351e982a50efe5f7389c91624e5194a3ff.tar.gz
tk-6e683f351e982a50efe5f7389c91624e5194a3ff.tar.bz2
[Bug 2919205]: Correct ordering of arguments to tk_messageBox.
Diffstat (limited to 'library')
-rw-r--r--library/tkfbox.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/tkfbox.tcl b/library/tkfbox.tcl
index 91acef3..ccf984c 100644
--- a/library/tkfbox.tcl
+++ b/library/tkfbox.tcl
@@ -11,7 +11,7 @@
# files by clicking on the file icons or by entering a filename
# in the "Filename:" entry.
#
-# RCS: @(#) $Id: tkfbox.tcl,v 1.68.2.3 2009/10/22 10:27:58 dkf Exp $
+# RCS: @(#) $Id: tkfbox.tcl,v 1.68.2.4 2009/12/22 18:16:05 dkf Exp $
#
# Copyright (c) 1994-1998 Sun Microsystems, Inc.
#
@@ -1819,7 +1819,7 @@ proc ::tk::dialog::file::ListInvoke {w filenames} {
if {$class eq "TkChooseDir" || [file isdirectory $file]} {
set appPWD [pwd]
if {[catch {cd $file}]} {
- tk_messageBox -type ok -parent $w -message -icon warning \
+ tk_messageBox -type ok -parent $w -icon warning -message \
[mc "Cannot change to the directory \"%1\$s\".\nPermission denied." $file]
} else {
cd $appPWD