Hide Farsi on non-Windows as it won't render

This commit is contained in:
Henrik Rydgard 2015-01-31 15:27:13 +01:00
parent f8a26a417b
commit 9fac72c916

View file

@ -291,6 +291,10 @@ NewLanguageScreen::NewLanguageScreen(const std::string &title) : ListPopupScreen
if (tempLangs[i].name.find("ar_AE") != std::string::npos) {
continue;
}
// Farsi also only works on Windows.
if (tempLangs[i].name.find("fa_IR") != std::string::npos) {
continue;
}
#endif
FileInfo lang = tempLangs[i];
langs_.push_back(lang);