diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2006-01-27 13:42:10 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2006-01-27 13:42:10 +0100 |
commit | 2f9af1b549bb8b8f9c285a33b0d19b3e9b9c5183 (patch) | |
tree | cebdc0c27d30ff8ba8d070fe32f1baa923a6867d /epg.c | |
parent | 48c8da8d15431c4668c479b40ed366dfc2f0257a (diff) | |
download | vdr-2f9af1b549bb8b8f9c285a33b0d19b3e9b9c5183.tar.gz vdr-2f9af1b549bb8b8f9c285a33b0d19b3e9b9c5183.tar.bz2 |
EPG events from epg.data or SVDRP's PUTE command now have their Title set to "No Title" if none was set
Diffstat (limited to 'epg.c')
-rw-r--r-- | epg.c | 6 |
1 files changed, 4 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.51 2006/01/20 14:09:48 kls Exp $ + * $Id: epg.c 1.52 2006/01/27 13:42:10 kls Exp $ */ #include "epg.h" @@ -318,7 +318,9 @@ bool cEvent::Read(FILE *f, cSchedule *Schedule) } } break; - case 'e': Event = NULL; + case 'e': if (!Event->Title()) + Event->SetTitle(tr("No title")); + Event = NULL; break; case 'c': // to keep things simple we react on 'c' here return true; |