mirror of
https://projects.vdr-developer.org/git/vdr-plugin-tvguide.git
synced 2023-10-05 15:01:48 +02:00
Correct a switchtimer error
This commit is contained in:
parent
d9b8af10e7
commit
68af1b2086
@ -13,6 +13,8 @@ cSwitchTimer::cSwitchTimer(void) {
|
|||||||
cSwitchTimer::cSwitchTimer(const cEvent* Event) {
|
cSwitchTimer::cSwitchTimer(const cEvent* Event) {
|
||||||
eventID = 0;
|
eventID = 0;
|
||||||
startTime = 0;
|
startTime = 0;
|
||||||
|
switchMinsBefore = 2;
|
||||||
|
announceOnly = 0;
|
||||||
if (Event) {
|
if (Event) {
|
||||||
eventID = Event->EventID();
|
eventID = Event->EventID();
|
||||||
channelID = Event->ChannelID();
|
channelID = Event->ChannelID();
|
||||||
@ -27,6 +29,7 @@ cSwitchTimer& cSwitchTimer::operator= (const cSwitchTimer &SwitchTimer)
|
|||||||
this->startTime = SwitchTimer.startTime;
|
this->startTime = SwitchTimer.startTime;
|
||||||
this->channelID = SwitchTimer.channelID;
|
this->channelID = SwitchTimer.channelID;
|
||||||
this->switchMinsBefore = SwitchTimer.switchMinsBefore;
|
this->switchMinsBefore = SwitchTimer.switchMinsBefore;
|
||||||
|
this->announceOnly = SwitchTimer.announceOnly;
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user