diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2001-09-02 15:27:54 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2001-09-02 15:27:54 +0200 |
commit | 0f87ff86d0d2ac8fa7cf7da41a5349f79e56ec87 (patch) | |
tree | 9cf8ba5d39e22fad77e5c5f70c71f6a3b01b765c | |
parent | 22ccf22f6f4c2dd94e322f0aebf134a90b310fae (diff) | |
download | vdr-0f87ff86d0d2ac8fa7cf7da41a5349f79e56ec87.tar.gz vdr-0f87ff86d0d2ac8fa7cf7da41a5349f79e56ec87.tar.bz2 |
Removed EPG fix from cMenuEvent (data is fixed in eit.c)
-rw-r--r-- | menu.c | 13 |
1 files changed, 1 insertions, 12 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: menu.c 1.114 2001/09/02 15:04:41 kls Exp $ + * $Id: menu.c 1.115 2001/09/02 15:27:54 kls Exp $ */ #include "menu.h" @@ -1160,17 +1160,6 @@ cMenuEvent::cMenuEvent(const cEventInfo *EventInfo, bool CanSwitch) const char *Title = eventInfo->GetTitle(); const char *Subtitle = eventInfo->GetSubtitle(); const char *ExtendedDescription = eventInfo->GetExtendedDescription(); - // Some channels send a 'Subtitle' that should actually be the 'ExtendedDescription' - // (their 'ExtendedDescription' is then empty). In order to handle this correctly - // we silently shift that text to where it belongs. - // The German TV station 'VOX' is notorious for this - why can't they do it correctly - // like all the others? Well, at least like those who actually send the full range - // of information (like, e.g., 'Sat.1'). Some stations (like 'RTL') don't even - // bother sending anything but the 'Title'... - if (isempty(ExtendedDescription) && !isempty(Subtitle) && int(strlen(Subtitle)) > 2 * Setup.OSDwidth) { - ExtendedDescription = Subtitle; - Subtitle = NULL; - } if (!isempty(Title)) { Add(item = new cMenuTextItem(Title, 1, Line, Setup.OSDwidth - 2, -1, clrCyan)); Line += item->Height() + 1; |