mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
bug 195093 : fix another mac bustage
This commit is contained in:
parent
a4571e7ffe
commit
3c987a6ff2
@ -287,7 +287,7 @@ nsresult nsDateTimeFormatMac::Initialize(nsILocale* locale)
|
||||
}
|
||||
|
||||
// Get a script code and charset name from locale, if available
|
||||
if (NS_SUCCEEDED(res) && !loceleStr.IsEmpty()) {
|
||||
if (NS_SUCCEEDED(res) && !localeStr.IsEmpty()) {
|
||||
mLocale.Assign(localeStr); // cache locale name
|
||||
|
||||
nsCOMPtr <nsIMacLocale> macLocale = do_GetService(NS_MACLOCALE_CONTRACTID, &res);
|
||||
|
Loading…
Reference in New Issue
Block a user