src/gui/user_menue_setup.cpp use ITEM_NONE

Origin commit data
------------------
Branch: ni/coolstream
Commit: 8238bfd492
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-03-11 (Fri, 11 Mar 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2016-03-11 08:49:25 +01:00
parent 321f490364
commit 60935c7226

View File

@@ -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;