summaryrefslogtreecommitdiff
path: root/epg.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-02-03 13:19:15 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2006-02-03 13:19:15 +0100
commitdd7621f2596b74740a06841467977fe802cb165e (patch)
tree9bfbca1b200234728e91eb33d6aaad1f07b03cae /epg.c
parente34ddc507d1973a6974c5aab483ce2e2e0f17812 (diff)
downloadvdr-dd7621f2596b74740a06841467977fe802cb165e.tar.gz
vdr-dd7621f2596b74740a06841467977fe802cb165e.tar.bz2
Fixed setting "No title" for broken event data
Diffstat (limited to 'epg.c')
-rw-r--r--epg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epg.c b/epg.c
index d69158e2..efc5455f 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.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;