mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 15:02:50 +02:00
fix epg newline forÖR channels
Origin commit data
------------------
Branch: ni/coolstream
Commit: b07bef983f
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:
@@ -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();
|
||||
|
||||
|
@@ -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();
|
||||
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user