summaryrefslogtreecommitdiff
path: root/epg.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-11-06 10:34:13 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2005-11-06 10:34:13 +0100
commit40336edc2a92e283dbb35fce2083aa03fea9efdc (patch)
tree8cb97722e6aa242651d68389e920a0ed6c3344b8 /epg.c
parente67fe0983dce767c8be5f379fcb96cb1044ec153 (diff)
downloadvdr-40336edc2a92e283dbb35fce2083aa03fea9efdc.tar.gz
vdr-40336edc2a92e283dbb35fce2083aa03fea9efdc.tar.bz2
Removed EPG bugfix #0, because it removed actually important data1.3.36
Diffstat (limited to 'epg.c')
-rw-r--r--epg.c28
1 files changed, 1 insertions, 27 deletions
diff --git a/epg.c b/epg.c
index 0bdd185c..72dc3346 100644
--- a/epg.c
+++ b/epg.c
@@ -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:
//