mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +02:00
- ylanguage.cpp: fix wrong value in for loop
This commit is contained in:
@@ -85,8 +85,8 @@ void CLanguage::setLanguage(std::string _language){
|
|||||||
NeutrinoLanguage->loadConfig(filename, ' ');
|
NeutrinoLanguage->loadConfig(filename, ' ');
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
else if (i == 2) {
|
else if (i == 1) {
|
||||||
// load neutrino default language
|
// load neutrino default language (should not happen)
|
||||||
NeutrinoLanguage->loadConfig(DATADIR "/neutrino/locale/english.locale", ' ');
|
NeutrinoLanguage->loadConfig(DATADIR "/neutrino/locale/english.locale", ' ');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user