diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-06-05 12:19:50 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-06-05 12:19:50 +0200 |
commit | 393627abd5c44cc092d178b70d7fb09c676a3dee (patch) | |
tree | 632d452649a3931abdc627f35c614de12216127e /epg.c | |
parent | 60a35366dd694d54e278997132da3585b31f0d71 (diff) | |
download | vdr-393627abd5c44cc092d178b70d7fb09c676a3dee.tar.gz vdr-393627abd5c44cc092d178b70d7fb09c676a3dee.tar.bz2 |
EPG events without a title now display "No title" instead of "(null)"
Diffstat (limited to 'epg.c')
-rw-r--r-- | epg.c | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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.34 2005/05/29 10:26:54 kls Exp $ + * $Id: epg.c 1.35 2005/06/05 12:17:15 kls Exp $ */ #include "epg.h" @@ -323,7 +323,7 @@ bool cEvent::Read(FILE *f, cSchedule *Schedule) return false; } -#define MAXEPGBUGFIXSTATS 12 +#define MAXEPGBUGFIXSTATS 13 #define MAXEPGBUGFIXCHANS 100 struct tEpgBugFixStats { int hits; @@ -638,6 +638,11 @@ void cEvent::FixEpgBugs(void) } } } + else { + // we don't want any "(null)" titles + title = strcpyrealloc(title, tr("No title")); + EpgBugFixStat(12, ChannelID()); + } } // --- cSchedule ------------------------------------------------------------- |