diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2006-02-03 13:19:15 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2006-02-03 13:19:15 +0100 |
commit | dd7621f2596b74740a06841467977fe802cb165e (patch) | |
tree | 9bfbca1b200234728e91eb33d6aaad1f07b03cae /epg.c | |
parent | e34ddc507d1973a6974c5aab483ce2e2e0f17812 (diff) | |
download | vdr-dd7621f2596b74740a06841467977fe802cb165e.tar.gz vdr-dd7621f2596b74740a06841467977fe802cb165e.tar.bz2 |
Fixed setting "No title" for broken event data
Diffstat (limited to 'epg.c')
-rw-r--r-- | epg.c | 4 |
1 files changed, 2 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.57 2006/01/29 14:17:33 kls Exp $ + * $Id: epg.c 1.58 2006/02/03 13:16:54 kls Exp $ */ #include "epg.h" @@ -321,7 +321,7 @@ bool cEvent::Read(FILE *f, cSchedule *Schedule) } } break; - case 'e': if (!Event->Title()) + case 'e': if (Event && !Event->Title()) Event->SetTitle(tr("No title")); Event = NULL; break; |