fixed a bug in switchtimer creation

This commit is contained in:
louis 2014-01-16 16:49:38 +01:00
parent 02b1fba742
commit f32602e360

View File

@ -460,7 +460,7 @@ bool cRecManager::CreateSwitchTimer(const cEvent *event, cSwitchTimer switchTime
data.event = event; data.event = event;
data.mode = 1; data.mode = 1;
data.switchMinsBefore = switchTimer.switchMinsBefore; data.switchMinsBefore = switchTimer.switchMinsBefore;
data.announceOnly = switchTimer.switchMinsBefore; data.announceOnly = switchTimer.announceOnly;
data.success = false; data.success = false;
epgSearchPlugin->Service("Epgsearch-switchtimer-v1.0", &data); epgSearchPlugin->Service("Epgsearch-switchtimer-v1.0", &data);
cSwitchTimer *t = new cSwitchTimer(event); cSwitchTimer *t = new cSwitchTimer(event);