mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 23:13:13 +02:00
epgplus fix footer line
This commit is contained in:
@@ -387,7 +387,13 @@ void EpgPlus::ChannelEventEntry::paint(bool pisSelected, bool toggleColor)
|
|||||||
CShortEPGData shortEpgData;
|
CShortEPGData shortEpgData;
|
||||||
|
|
||||||
bool ret = CEitManager::getInstance()->getEPGidShort(this->channelEvent.eventID, &shortEpgData);
|
bool ret = CEitManager::getInstance()->getEPGidShort(this->channelEvent.eventID, &shortEpgData);
|
||||||
this->footer->paintEventDetails(this->channelEvent.description, ret ? shortEpgData.info1 : "");
|
std::string shortepg = shortEpgData.info1;
|
||||||
|
if(!shortepg.empty())
|
||||||
|
{
|
||||||
|
shortepg = str_replace("\n", " ", shortepg);
|
||||||
|
shortepg = str_replace("\\n", " ", shortepg);
|
||||||
|
}
|
||||||
|
this->footer->paintEventDetails(this->channelEvent.description, ret ? shortepg : "");
|
||||||
|
|
||||||
this->timeLine->paintGrid();
|
this->timeLine->paintGrid();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user