From 4c5dbf5458fc5b9a9428858b2094ef259dd32f52 Mon Sep 17 00:00:00 2001 From: oehhar Date: Tue, 30 Jun 2015 14:32:12 +0000 Subject: "mcpackagelocale present" is more elegant --- library/clock.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 library/clock.tcl diff --git a/library/clock.tcl b/library/clock.tcl old mode 100644 new mode 100755 index e995bd1..bfdf832 --- 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 } } -- cgit v0.12