bug 195093 : fix another mac bustage

This commit is contained in:
jshin%mailaps.org 2003-10-30 06:43:37 +00:00
parent a4571e7ffe
commit 3c987a6ff2

View File

@ -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);