mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
neutrino: fix numbers in menus without digit-icons
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@301 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -93,7 +93,7 @@ int CAudioSelectMenuHandler::doMenu ()
|
||||
sprintf(apid, "%d", count);
|
||||
AudioSelector.addItem(new CMenuForwarderNonLocalized(
|
||||
g_RemoteControl->current_PIDs.APIDs[count].desc, true, NULL,
|
||||
APIDChanger, apid, CRCInput::convertDigitToKey(count + 1), CNeutrinoApp::getInstance()->digiIcon(count + 1)),
|
||||
APIDChanger, apid, CRCInput::convertDigitToKey(count + 1)),
|
||||
(count == g_RemoteControl->current_PIDs.PIDs.selected_apid));
|
||||
}
|
||||
|
||||
@@ -133,7 +133,7 @@ int CAudioSelectMenuHandler::doMenu ()
|
||||
char item[64];
|
||||
sprintf(item, "DVB: %s (pid %x)", sd->ISO639_language_code.c_str(), sd->pId);
|
||||
AudioSelector.addItem(new CMenuForwarderNonLocalized(item /*sd->ISO639_language_code.c_str()*/,
|
||||
sd->pId != dvbsub_getpid(), NULL, &SubtitleChanger, spid, CRCInput::convertDigitToKey(++count), CNeutrinoApp::getInstance()->digiIcon(count)));
|
||||
sd->pId != dvbsub_getpid(), NULL, &SubtitleChanger, spid, CRCInput::convertDigitToKey(++count)));
|
||||
}
|
||||
if (s->thisSubType == CZapitAbsSub::TTX) {
|
||||
CZapitTTXSub* sd = reinterpret_cast<CZapitTTXSub*>(s);
|
||||
@@ -148,7 +148,7 @@ int CAudioSelectMenuHandler::doMenu ()
|
||||
char item[64];
|
||||
sprintf(item, "TTX: %s (pid %x page %03X)", sd->ISO639_language_code.c_str(), sd->pId, page);
|
||||
AudioSelector.addItem(new CMenuForwarderNonLocalized(item /*sd->ISO639_language_code.c_str()*/,
|
||||
!tuxtx_subtitle_running(sd->pId, page, NULL), NULL, &SubtitleChanger, spid, CRCInput::convertDigitToKey(++count), CNeutrinoApp::getInstance()->digiIcon(count)));
|
||||
!tuxtx_subtitle_running(sd->pId, page, NULL), NULL, &SubtitleChanger, spid, CRCInput::convertDigitToKey(++count)));
|
||||
}
|
||||
}
|
||||
if(sep_added) {
|
||||
|
Reference in New Issue
Block a user