Bug #185523 patch by sergei_d@fi.tartu.ee r=arougthopher@lizardland.net sr=blizzard (BeOS only) Mozilla uses Western font settings for UTF-8 instead Unicode settings
This commit is contained in:
Родитель
fefd7a6a7d
Коммит
7d06b53039
|
@ -246,10 +246,12 @@ nsLanguageAtomService::LookupCharSet(const PRUnichar* aCharSet,
|
|||
if (!langGroup) {
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
#if !defined(XP_BEOS)
|
||||
if (langGroup.get() == mUnicode.get()) {
|
||||
res = GetLocaleLanguageGroup(getter_AddRefs(langGroup));
|
||||
NS_ENSURE_SUCCESS(res, res);
|
||||
}
|
||||
#endif
|
||||
nsCOMPtr<nsILanguageAtom> lang;
|
||||
PRUint32 n;
|
||||
NS_ENSURE_SUCCESS(mLangs->Count(&n), NS_ERROR_FAILURE);
|
||||
|
|
Загрузка…
Ссылка в новой задаче