From ccbcbe9f3cfdb5599cf6c063f612eb974af6dec7 Mon Sep 17 00:00:00 2001 From: "bryner%brianryner.com" Date: Tue, 8 Jun 2004 23:58:05 +0000 Subject: [PATCH] bustage fix git-svn-id: svn://10.0.0.236/trunk@157621 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/intl/locale/src/nsLanguageAtomService.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mozilla/intl/locale/src/nsLanguageAtomService.cpp b/mozilla/intl/locale/src/nsLanguageAtomService.cpp index 6f467cae9a2..2dfbaae3eac 100644 --- a/mozilla/intl/locale/src/nsLanguageAtomService.cpp +++ b/mozilla/intl/locale/src/nsLanguageAtomService.cpp @@ -110,10 +110,11 @@ nsLanguageAtomService::LookupLanguage(const nsAString &aLanguage, } } } - lang = do_GetAtom(langGroupStr); + nsCOMPtr langGroup = do_GetAtom(langGroupStr); // The hashtable will keep an owning reference to the atom mLangs.Put(lowered, lang); + lang = langGroup; } if (aError)