diff options
author | oehhar <harald.oehlmann@elmicron.de> | 2015-06-30 14:32:12 (GMT) |
---|---|---|
committer | oehhar <harald.oehlmann@elmicron.de> | 2015-06-30 14:32:12 (GMT) |
commit | 502287c9dd30be7317b63174e4ec832a78d52e9b (patch) | |
tree | 03bca8828ade6d5a6b30d43be3379941e4b99fa1 /library/clock.tcl | |
parent | 0698861f80afe2f541cd32be4f48c9beb77c7ca5 (diff) | |
download | tcl-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.tcl | 2 |
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 } } |