mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
If VPS timers are active, their events are now being kept up to date
This commit is contained in:
6
epg.c
6
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.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);
|
||||
|
||||
Reference in New Issue
Block a user