CNeutrinoEventList::paintDescription - show info1 if info2 is empty

This commit is contained in:
Jacek Jendrzej
2013-05-13 20:56:14 +02:00
parent 3ee3452fda
commit f23be72ee0

View File

@@ -829,8 +829,12 @@ void CNeutrinoEventList::paintDescription(int index)
else else
CEitManager::getInstance()->getActualEPGServiceKey(evtlist[index].channelID, &epgData ); CEitManager::getInstance()->getActualEPGServiceKey(evtlist[index].channelID, &epgData );
if(!epgData.info2.empty()) if(!epgData.info2.empty()){
infozone_text = epgData.info2; infozone_text = epgData.info2;
}
else if (!epgData.info1.empty()){
infozone_text = epgData.info1;
}
else else
infozone_text = g_Locale->getText(LOCALE_EPGLIST_NOEVENTS); infozone_text = g_Locale->getText(LOCALE_EPGLIST_NOEVENTS);