- ylanguage.cpp: fix wrong value in for loop

This commit is contained in:
svenhoefer
2013-11-09 14:40:58 +01:00
parent 9b71f720ea
commit 1e8764be2e

View File

@@ -85,8 +85,8 @@ void CLanguage::setLanguage(std::string _language){
NeutrinoLanguage->loadConfig(filename, ' ');
break;
}
else if (i == 2) {
// load neutrino default language
else if (i == 1) {
// load neutrino default language (should not happen)
NeutrinoLanguage->loadConfig(DATADIR "/neutrino/locale/english.locale", ' ');
}
}