summaryrefslogtreecommitdiff
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
parente34ddc507d1973a6974c5aab483ce2e2e0f17812 (diff)
downloadvdr-dd7621f2596b74740a06841467977fe802cb165e.tar.gz
vdr-dd7621f2596b74740a06841467977fe802cb165e.tar.bz2
Fixed setting "No title" for broken event data
-rw-r--r--CONTRIBUTORS3
-rw-r--r--HISTORY3
-rw-r--r--epg.c4
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 <dkar@gmx.de>
Suur Karu <suurkaru@fastmail.fm>
for reporting a problem with the tuning timeout for channels that have low symbol
rates
+
+Ronny Kornexl <ronny.kornexl@online.de>
+ 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 <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;