summaryrefslogtreecommitdiffstats
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)
commit4c5dbf5458fc5b9a9428858b2094ef259dd32f52 (patch)
tree03bca8828ade6d5a6b30d43be3379941e4b99fa1
parentcdbe969ea378527a9002c3a5ab21465c7a79fc4b (diff)
downloadtcl-4c5dbf5458fc5b9a9428858b2094ef259dd32f52.zip
tcl-4c5dbf5458fc5b9a9428858b2094ef259dd32f52.tar.gz
tcl-4c5dbf5458fc5b9a9428858b2094ef259dd32f52.tar.bz2
"mcpackagelocale present" is more elegant
-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
}
}