From b08d6cf9675c005bb3c3c013db6500a19df998a8 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sat, 9 Nov 2013 14:40:58 +0100 Subject: [PATCH] ylanguage.cpp: fix wrong value in for loop Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/1e8764be2e50cb8e36d3cb61c1a7407f3ce90c23 Author: vanhofen Date: 2013-11-09 (Sat, 09 Nov 2013) Origin message was: ------------------ - ylanguage.cpp: fix wrong value in for loop ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/nhttpd/yhttpd_core/ylanguage.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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", ' '); } }