user_menu: allow controlable return_title value

Origin commit data
------------------
Branch: ni/coolstream
Commit: 9325385ce9
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-12-29 (Tue, 29 Dec 2015)

Origin message was:
------------------
- user_menu: allow controlable return_title value

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

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2015-12-29 12:10:27 +01:00
parent b5fbcfb829
commit 935e0ece89
2 changed files with 2 additions and 3 deletions

View File

@@ -478,13 +478,12 @@ bool CUserMenu::showUserMenu(neutrino_msg_t msg)
return true;
}
const char *CUserMenu::getUserMenuButtonName(int button, bool &active)
const char *CUserMenu::getUserMenuButtonName(int button, bool &active, bool return_title)
{
active = false;
if(button < 0 || button >= (int) g_settings.usermenu.size())
return "";
bool return_title = false;
neutrino_locale_t loc = NONEXISTANT_LOCALE;
const char *text = NULL;