summaryrefslogtreecommitdiffstats
path: root/library/clock.tcl
diff options
context:
space:
mode:
authoroehhar <harald.oehlmann@elmicron.de>2015-06-30 14:32:12 (GMT)
committeroehhar <harald.oehlmann@elmicron.de>2015-06-30 14:32:12 (GMT)
commit502287c9dd30be7317b63174e4ec832a78d52e9b (patch)
tree03bca8828ade6d5a6b30d43be3379941e4b99fa1 /library/clock.tcl
parent0698861f80afe2f541cd32be4f48c9beb77c7ca5 (diff)
downloadtcl-502287c9dd30be7317b63174e4ec832a78d52e9b.zip
tcl-502287c9dd30be7317b63174e4ec832a78d52e9b.tar.gz
tcl-502287c9dd30be7317b63174e4ec832a78d52e9b.tar.bz2
"mcpackagelocale present" is more elegant
Diffstat (limited to 'library/clock.tcl')
-rwxr-xr-x[-rw-r--r--]library/clock.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/clock.tcl b/library/clock.tcl
index e995bd1..bfdf832 100644..100755
--- a/library/clock.tcl
+++ b/library/clock.tcl
@@ -2320,7 +2320,7 @@ proc ::tcl::clock::EnterLocale { locale } {
# Control Panel information
set locale [mclocale]_windows
- if { $locale ni [::msgcat::mcpackagelocale loaded] } {
+ if { ! [mcpackagelocale present $locale] } {
LoadWindowsDateTimeFormats $locale
}
}