diff --git a/src/nhttpd/yhttpd_core/ylanguage.cpp b/src/nhttpd/yhttpd_core/ylanguage.cpp index f07a01809..9003a536a 100644 --- a/src/nhttpd/yhttpd_core/ylanguage.cpp +++ b/src/nhttpd/yhttpd_core/ylanguage.cpp @@ -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", ' '); } }