CNeutrinoEventList::paintDescription - show info1 if info2 is empty

Origin commit data
------------------
Commit: f23be72ee0
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2013-05-13 (Mon, 13 May 2013)
This commit is contained in:
Jacek Jendrzej
2013-05-13 20:56:14 +02:00
parent 42164b85c3
commit 25de7b0fff

View File

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