diff --git a/src/gui/channellist.cpp b/src/gui/channellist.cpp index 1ab16ddbe..b23eb8102 100644 --- a/src/gui/channellist.cpp +++ b/src/gui/channellist.cpp @@ -2766,6 +2766,10 @@ void CChannelList::processTextToArray(std::string text, int screening) // UTF-8 std::string aktLine = ""; std::string aktWord = ""; int aktWidth = 0; + + if(!text.empty()) + text = str_replace("\\n", "\n", text); + text += ' '; const char *text_= text.c_str(); diff --git a/src/gui/epgview.cpp b/src/gui/epgview.cpp index e6477f9bd..b7dc121ff 100644 --- a/src/gui/epgview.cpp +++ b/src/gui/epgview.cpp @@ -191,6 +191,10 @@ void CEpgData::processTextToArray(std::string text, int screening, bool has_cove std::string aktLine = ""; std::string aktWord = ""; int aktWidth = 0; + + if(!text.empty()) + text = str_replace("\\n", "\n", text); + text += ' '; char* text_= (char*) text.c_str(); diff --git a/src/gui/eventlist.cpp b/src/gui/eventlist.cpp index 0d8e156b0..e370cbdd9 100644 --- a/src/gui/eventlist.cpp +++ b/src/gui/eventlist.cpp @@ -880,6 +880,9 @@ void CEventList::paintDescription(int index) else infozone_text = g_Locale->getText(LOCALE_EPGLIST_NOEVENTS); + if(!infozone_text.empty()) + infozone_text = str_replace("\\n", "\n", infozone_text); + infozone->setText(infozone_text, CTextBox::TOP, g_Font[SNeutrinoSettings::FONT_TYPE_EVENTLIST_EVENT]); infozone->doPaintBg(false); infozone->doPaintTextBoxBg(true);