summaryrefslogtreecommitdiffstats
path: root/library/tkfbox.tcl
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)
commitea3834502df7462ab4cee793fa526b4db35696ec (patch)
tree1b0e0ad76b3d48ae54d6975ac0add779cb5a84d3 /library/tkfbox.tcl
parentb2b128eb69eae98898c8eadc2e3d408cc3bdefc8 (diff)
downloadtk-ea3834502df7462ab4cee793fa526b4db35696ec.zip
tk-ea3834502df7462ab4cee793fa526b4db35696ec.tar.gz
tk-ea3834502df7462ab4cee793fa526b4db35696ec.tar.bz2
[Bug 2919205]: Correct ordering of arguments to tk_messageBox.
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 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