From dd7621f2596b74740a06841467977fe802cb165e Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Fri, 3 Feb 2006 13:19:15 +0100 Subject: [PATCH] Fixed setting "No title" for broken event data --- CONTRIBUTORS | 3 +++ HISTORY | 3 ++- epg.c | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 8ba79821..0053b674 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -1711,3 +1711,6 @@ Daniel Karsubka Suur Karu for reporting a problem with the tuning timeout for channels that have low symbol rates + +Ronny Kornexl + for reporting a problem with setting "No title" for broken event data diff --git a/HISTORY b/HISTORY index 3834dc59..b1cdacc9 100644 --- a/HISTORY +++ b/HISTORY @@ -4271,7 +4271,8 @@ Video Disk Recorder Revision History - Separated the 'install' target into several individual targets; renamed the 'plugins-install' target to 'install-plugins' (thanks to Helmut Auer). -2006-01-29: Version 1.3.42 +2006-02-03: Version 1.3.42 - Removed leftover 'needsBufferReserve' variable from cTransfer (thanks to Marco Schlüßler). +- Fixed setting "No title" for broken event data (reported by Ronny Kornexl). 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 and Rolf Hakenes . * - * $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;