From 49059f8e6c8f87da34c15ca61a5ee82d81f00dfc Mon Sep 17 00:00:00 2001 From: "bryner%brianryner.com" Date: Tue, 8 Jun 2004 23:58:05 +0000 Subject: [PATCH] bustage fix --- intl/locale/src/nsLanguageAtomService.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/intl/locale/src/nsLanguageAtomService.cpp b/intl/locale/src/nsLanguageAtomService.cpp index 6f467cae9a2..2dfbaae3eac 100644 --- a/intl/locale/src/nsLanguageAtomService.cpp +++ b/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)