mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
src/gui/user_menue_setup.cpp use ITEM_NONE
Origin commit data
------------------
Commit: 8238bfd492
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-03-11 (Fri, 11 Mar 2016)
This commit is contained in:
@@ -191,7 +191,7 @@ static neutrino_locale_t locals[SNeutrinoSettings::ITEM_MAX];
|
|||||||
neutrino_locale_t CUserMenuSetup::getLocale(unsigned int key)
|
neutrino_locale_t CUserMenuSetup::getLocale(unsigned int key)
|
||||||
{
|
{
|
||||||
if(key >= SNeutrinoSettings::ITEM_MAX){
|
if(key >= SNeutrinoSettings::ITEM_MAX){
|
||||||
key = SNeutrinoSettings::ITEM_MAX-1;
|
key = SNeutrinoSettings::ITEM_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool initialized = false;
|
static bool initialized = false;
|
||||||
|
Reference in New Issue
Block a user