mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 23:13:00 +02:00
epgplus fix footer line
Origin commit data
------------------
Branch: ni/coolstream
Commit: b8272a32a2
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2024-09-05 (Thu, 05 Sep 2024)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
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