From 82e5dcd443213c2638cbf193052b19b65165d6e8 Mon Sep 17 00:00:00 2001 From: Martin Schirrmacher Date: Mon, 23 Jun 2014 22:08:11 +0200 Subject: remove dummy epg-text --- displaychannel.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/displaychannel.c b/displaychannel.c index 2969474e..a2ef3cff 100644 --- a/displaychannel.c +++ b/displaychannel.c @@ -401,7 +401,7 @@ void cFlatDisplayChannel::SetEvents(const cEvent *Present, const cEvent *Followi int timeStringWidth = fontSml->Width(*timeString) + fontSml->Width(" "); int epgWidth = font->Width(Following->Title()) + marginItem*2; - int epgShortWidth = fontSml->Width("1234567890 asdf asdf lkjdf nv.x,cvfgnjöawketu 2934785zjghk ldu3") + marginItem*2; + int epgShortWidth = fontSml->Width(Following->ShortText()) + marginItem*2; if( Following->HasTimer() ) { epgWidth += marginItem + RecWidth; @@ -413,7 +413,6 @@ void cFlatDisplayChannel::SetEvents(const cEvent *Present, const cEvent *Followi epg = Following->Title(); epgShort = Following->ShortText(); - epgShort = "1234567890 asdf asdf lkjdf nv.x,cvfgnjöawketu 2934785zjghk ldu3"; /* if( epgWidth > channelWidth - left - timeStringWidth ) { int dotsWidth = font->Width("... "); -- cgit v1.2.3