summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schirrmacher <vdr.skinflatplus@schirrmacher.eu>2014-06-23 22:08:11 +0200
committerMartin Schirrmacher <vdr.skinflatplus@schirrmacher.eu>2014-06-23 22:08:11 +0200
commit82e5dcd443213c2638cbf193052b19b65165d6e8 (patch)
tree7afe1b33ab222d32770256794675e3e079805f38
parent2f9e9faa36913514052cb6b712ab92fd369bcdea (diff)
downloadskin-flatplus-82e5dcd443213c2638cbf193052b19b65165d6e8.tar.gz
skin-flatplus-82e5dcd443213c2638cbf193052b19b65165d6e8.tar.bz2
remove dummy epg-text
-rw-r--r--displaychannel.c3
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("... ");