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:
Jacek Jendrzej
2024-09-05 21:34:45 +02:00
committed by vanhofen
parent 21896d808f
commit 4e9ac3ce4f

View File

@@ -387,7 +387,13 @@ void EpgPlus::ChannelEventEntry::paint(bool pisSelected, bool toggleColor)
CShortEPGData 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();
}