diff options
author | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2014-06-23 22:08:11 +0200 |
---|---|---|
committer | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2014-06-23 22:08:11 +0200 |
commit | 82e5dcd443213c2638cbf193052b19b65165d6e8 (patch) | |
tree | 7afe1b33ab222d32770256794675e3e079805f38 | |
parent | 2f9e9faa36913514052cb6b712ab92fd369bcdea (diff) | |
download | skin-flatplus-82e5dcd443213c2638cbf193052b19b65165d6e8.tar.gz skin-flatplus-82e5dcd443213c2638cbf193052b19b65165d6e8.tar.bz2 |
remove dummy epg-text
-rw-r--r-- | displaychannel.c | 3 |
1 files changed, 1 insertions, 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("... "); |