From 8e18519ba1dcda0c9de0429ecf15fddb9c5411f4 Mon Sep 17 00:00:00 2001 From: Martin Schirrmacher Date: Fri, 9 May 2014 16:47:13 +0200 Subject: fix floated text --- HISTORY | 1 + complexcontent.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/HISTORY b/HISTORY index 0656e060..c43c32d8 100644 --- a/HISTORY +++ b/HISTORY @@ -15,6 +15,7 @@ VDR Plugin 'skinflatplus' Revision History - [add] more options to show disk usage (not show; timer & recording menu; always on the menu; always show) - [add] horizontal line and group icon in SetItemEvent for group channels - [add] new fnu_anthra_themes (thank You fnu/Frank) +- [add] eventsview-flatplus.sql for epgd to prevent double information in epg-text, please see wiki for more information 2014-25-03: Version 0.2.1 - [fix] epgsearch progessbar in SetItemEvent, if epg start time is after now (2 minutes tolerance) diff --git a/complexcontent.c b/complexcontent.c index 4be08db1..8bd8db4f 100644 --- a/complexcontent.c +++ b/complexcontent.c @@ -156,7 +156,7 @@ void cComplexContent::AddImageWithFloatedText(cImage *image, int imageAlignment, NumChars += strlen(WrapperFloat.GetLine(i)); } // detect end of last word - for(; text[NumChars] != ' ' && text[NumChars] != '\0'; NumChars++) + for(; text[NumChars] != ' ' && text[NumChars] != '\0' && text[NumChars] != '\r' && text[NumChars] != '\n'; NumChars++) ; char *FloatedText; FloatedText = new char[NumChars+1]; -- cgit v1.2.3