Fixed setting "No title" for broken event data

This commit is contained in:
Klaus Schmidinger 2006-02-03 13:19:15 +01:00
parent e34ddc507d
commit dd7621f259
3 changed files with 7 additions and 3 deletions

View File

@ -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

View File

@ -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).

4
epg.c
View File

@ -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;