diff options
author | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2019-03-20 16:12:34 +0100 |
---|---|---|
committer | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2019-03-20 16:12:54 +0100 |
commit | 68af1b20863d390355cc14a563a3a5062382dfb1 (patch) | |
tree | a314893368fb44df3fe3e9b3687f0fdd43d9fee0 | |
parent | d9b8af10e76ea3c68d4310ba18806225f3e1eb55 (diff) | |
download | vdr-plugin-tvguide-68af1b20863d390355cc14a563a3a5062382dfb1.tar.gz vdr-plugin-tvguide-68af1b20863d390355cc14a563a3a5062382dfb1.tar.bz2 |
Correct a switchtimer error
-rw-r--r-- | switchtimer.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/switchtimer.c b/switchtimer.c index bf21553..125b11e 100644 --- a/switchtimer.c +++ b/switchtimer.c @@ -13,6 +13,8 @@ cSwitchTimer::cSwitchTimer(void) { cSwitchTimer::cSwitchTimer(const cEvent* Event) { eventID = 0; startTime = 0; + switchMinsBefore = 2; + announceOnly = 0; if (Event) { eventID = Event->EventID(); channelID = Event->ChannelID(); @@ -27,6 +29,7 @@ cSwitchTimer& cSwitchTimer::operator= (const cSwitchTimer &SwitchTimer) this->startTime = SwitchTimer.startTime; this->channelID = SwitchTimer.channelID; this->switchMinsBefore = SwitchTimer.switchMinsBefore; + this->announceOnly = SwitchTimer.announceOnly; return *this; } |