Kaydet (Commit) 6fa84d19 authored tarafından Eike Rathke's avatar Eike Rathke

in canonicalize() an unknown LangID is temporary

Change-Id: I4ae0f04f6ba5d6d0f9668595adf0b6865a34d6ef
üst 036cf17c
...@@ -1103,7 +1103,7 @@ bool LanguageTagImpl::canonicalize() ...@@ -1103,7 +1103,7 @@ bool LanguageTagImpl::canonicalize()
if (!mbInitializedLangID) if (!mbInitializedLangID)
{ {
convertLocaleToLang( false); convertLocaleToLang( false);
if (bTemporaryLocale) if (bTemporaryLocale || mnLangID == LANGUAGE_DONTKNOW)
bTemporaryLangID = true; bTemporaryLangID = true;
} }
if (mnLangID != LANGUAGE_DONTKNOW && mnLangID != LANGUAGE_SYSTEM) if (mnLangID != LANGUAGE_DONTKNOW && mnLangID != LANGUAGE_SYSTEM)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment