mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
CMenuWidget: fix simplified up/down code
Origin commit data
------------------
Commit: ecef1e8ab8
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-06-16 (Sun, 16 Jun 2013)
This commit is contained in:
committed by
vanhofen
parent
a0e73ac341
commit
0196585cd9
@@ -464,6 +464,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