mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
fix shadow stuff and initializers....
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@118 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -124,10 +124,12 @@ int CKeyChooserItem::exec(CMenuTarget* parent, const std::string &)
|
||||
|
||||
get_Message:
|
||||
g_RCInput->getMsgAbsoluteTimeout( &msg, &data, &timeoutEnd );
|
||||
|
||||
|
||||
if (msg != CRCInput::RC_timeout)
|
||||
{
|
||||
if ((msg >= 0) && (msg <= CRCInput::RC_MaxRC))
|
||||
// comparing an unsigned int against >= 0 is senseless!
|
||||
// if ((msg >= 0) && (msg <= CRCInput::RC_MaxRC))
|
||||
if ((msg >0 ) && (msg <= CRCInput::RC_MaxRC))
|
||||
*key = msg;
|
||||
else if (CNeutrinoApp::getInstance()->handleMsg(msg, data) & messages_return::cancel_all)
|
||||
res = menu_return::RETURN_EXIT_ALL;
|
||||
|
Reference in New Issue
Block a user