From 465ddf3ffcf55728608d0442f23516262a5e26f4 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 7 May 2006 09:13:36 +0200 Subject: If VPS timers are active, their events are now being kept up to date --- epg.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'epg.c') diff --git a/epg.c b/epg.c index bc448cf8..cb38a983 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.72 2006/04/22 12:02:47 kls Exp $ + * $Id: epg.c 1.73 2006/05/07 09:13:36 kls Exp $ */ #include "epg.h" @@ -327,8 +327,10 @@ bool cEvent::Read(FILE *f, cSchedule *Schedule) cEvent *newEvent = NULL; if (Event) DELETENULL(Event->components); - if (!Event) + if (!Event) { Event = newEvent = new cEvent(EventID); + Event->seen = 0; + } if (Event) { Event->SetTableID(TableID); Event->SetStartTime(StartTime); -- cgit v1.2.3