mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
CMenuWidget: fix simplified up/down code
Origin commit data
------------------
Branch: ni/coolstream
Commit: 3e2e647745
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-06-16 (Sun, 16 Jun 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -465,6 +465,8 @@ int CMenuWidget::exec(CMenuTarget* parent, const std::string &)
|
||||
CVFD::MODES oldLcdMode = CVFD::getInstance()->getMode();
|
||||
|
||||
int pos = 0;
|
||||
if (selected > 0 && selected < (int)items.size())
|
||||
pos = selected;
|
||||
exit_pressed = false;
|
||||
|
||||
frameBuffer->Lock();
|
||||
|
Reference in New Issue
Block a user