diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-11-06 10:34:13 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-11-06 10:34:13 +0100 |
commit | 40336edc2a92e283dbb35fce2083aa03fea9efdc (patch) | |
tree | 8cb97722e6aa242651d68389e920a0ed6c3344b8 | |
parent | e67fe0983dce767c8be5f379fcb96cb1044ec153 (diff) | |
download | vdr-40336edc2a92e283dbb35fce2083aa03fea9efdc.tar.gz vdr-40336edc2a92e283dbb35fce2083aa03fea9efdc.tar.bz2 |
Removed EPG bugfix #0, because it removed actually important data1.3.36
-rw-r--r-- | HISTORY | 1 | ||||
-rw-r--r-- | epg.c | 28 |
2 files changed, 2 insertions, 27 deletions
@@ -3938,3 +3938,4 @@ Video Disk Recorder Revision History (reported by Stefan Huelswitt). - Fixed setting the help key display in the Recordings menu in case of several layers of subdirectories. +- Removed EPG bugfix #0, because it removed actually important data. @@ -7,7 +7,7 @@ * Original version (as used in VDR before 1.3.0) written by * Robert Schneider <Robert.Schneider@web.de> and Rolf Hakenes <hakenes@hippomi.de>. * - * $Id: epg.c 1.38 2005/10/09 12:57:55 kls Exp $ + * $Id: epg.c 1.39 2005/11/06 10:31:58 kls Exp $ */ #include "epg.h" @@ -425,32 +425,6 @@ void cEvent::FixEpgBugs(void) // EPG data. Let's fix their bugs as good as we can: if (title) { - // Some channels put too much information into the ShortText and leave the - // Description empty: - // - // Title - // (NAT, Year Min')[ ["ShortText". ]Description] - // - if (shortText && !description) { - if (*shortText == '(') { - char *e = strchr(shortText + 1, ')'); - if (e) { - if (*(e + 1)) { - if (*++e == ' ') - if (*(e + 1) == '"') - e++; - } - else - e = NULL; - char *s = e ? strdup(e) : NULL; - free(shortText); - shortText = s; - EpgBugFixStat(0, ChannelID()); - // now the fixes #1 and #2 below will handle the rest - } - } - } - // Some channels put the ShortText in quotes and use either the ShortText // or the Description field, depending on how long the string is: // |