diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/l10n_util_win.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/app/l10n_util_win.cc b/app/l10n_util_win.cc index b00ba44..0ffdad7 100644 --- a/app/l10n_util_win.cc +++ b/app/l10n_util_win.cc @@ -63,9 +63,10 @@ void HWNDSetRTLLayout(HWND hwnd) { } bool IsLocaleSupportedByOS(const std::string& locale) { - // Block Oriya on Windows XP. - return !(LowerCaseEqualsASCII(locale, "or") && - win_util::GetWinVersion() < win_util::WINVERSION_VISTA); + // Block Oriya and Amharic on Windows XP. + return win_util::GetWinVersion() >= win_util::WINVERSION_VISTA || + (!LowerCaseEqualsASCII(locale, "or") && + !LowerCaseEqualsASCII(locale, "am")); } bool NeedOverrideDefaultUIFont(std::wstring* override_font_family, |