mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
gui/cam_menu.cpp: workaround for possible wrong CI menu item count from libcs
Origin commit data
------------------
Branch: ni/coolstream
Commit: 108913b65d
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-12-04 (Tue, 04 Dec 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -332,7 +332,7 @@ int CCAMMenuHandler::handleCamMsg (const neutrino_msg_t msg, neutrino_msg_data_t
|
||||
menu->addItem(new CMenuForwarderNonLocalized(convertDVBUTF8(sptr, strlen(sptr), 0).c_str(), false));
|
||||
}
|
||||
}
|
||||
for(i = 0; i < pMenu->choice_nb; i++) {
|
||||
for(i = 0; (i < pMenu->choice_nb) && (i < MAX_MMI_ITEMS); i++) {
|
||||
snprintf(cnt, sizeof(cnt), "%d", i);
|
||||
if(sublevel)
|
||||
menu->addItem(new CMenuForwarderNonLocalized(convertDVBUTF8(pMenu->choice_item[i], strlen(pMenu->choice_item[i]), 0).c_str(), true, NULL, selector, cnt));
|
||||
|
Reference in New Issue
Block a user