From d5704673593f3e2a6f302a040b7091d4fd81bee0 Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Fri, 11 Mar 2016 08:49:25 +0100 Subject: [PATCH] src/gui/user_menue_setup.cpp use ITEM_NONE Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/8238bfd492a892e172b0c33de8252e5bfb041c02 Author: Jacek Jendrzej Date: 2016-03-11 (Fri, 11 Mar 2016) --- src/gui/user_menue_setup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/user_menue_setup.cpp b/src/gui/user_menue_setup.cpp index d59be22ab..ac39d1393 100644 --- a/src/gui/user_menue_setup.cpp +++ b/src/gui/user_menue_setup.cpp @@ -191,7 +191,7 @@ static neutrino_locale_t locals[SNeutrinoSettings::ITEM_MAX]; neutrino_locale_t CUserMenuSetup::getLocale(unsigned int key) { if(key >= SNeutrinoSettings::ITEM_MAX){ - key = SNeutrinoSettings::ITEM_MAX-1; + key = SNeutrinoSettings::ITEM_NONE; } static bool initialized = false;