mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
CMenuWidget: fix simplified up/down code
Origin commit data
------------------
Branch: ni/coolstream
Commit: ecef1e8ab8
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:
committed by
vanhofen
parent
834266d04a
commit
04b6854d11
@@ -464,6 +464,8 @@ int CMenuWidget::exec(CMenuTarget* parent, const std::string &)
|
|||||||
CVFD::MODES oldLcdMode = CVFD::getInstance()->getMode();
|
CVFD::MODES oldLcdMode = CVFD::getInstance()->getMode();
|
||||||
|
|
||||||
int pos = 0;
|
int pos = 0;
|
||||||
|
if (selected > 0 && selected < (int)items.size())
|
||||||
|
pos = selected;
|
||||||
exit_pressed = false;
|
exit_pressed = false;
|
||||||
|
|
||||||
frameBuffer->Lock();
|
frameBuffer->Lock();
|
||||||
|
Reference in New Issue
Block a user