Skip to content

Commit

Permalink
epgplus fix footer line
Browse files Browse the repository at this point in the history
  • Loading branch information
satbaby authored and Frankenstone committed Sep 6, 2024
1 parent 536d116 commit aa28352
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/gui/epgplus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit aa28352

Please sign in to comment.