Merge branch 'master' into pu/mp

This commit is contained in:
Jacek Jendrzej
2017-06-21 13:54:49 +02:00
20 changed files with 160 additions and 149 deletions

View File

@@ -332,7 +332,7 @@ int CTimerManager::modifyEvent(int peventID, time_t announceTime, time_t alarmTi
CTimerEvent *event = events[peventID];
event->announceTime = announceTime;
event->alarmTime = alarmTime;
event->stopTime = stopTime;
event->stopTime = (event->eventType == CTimerd::TIMER_RECORD) ? stopTime : 0;
if(event->eventState==CTimerd::TIMERSTATE_PREANNOUNCE)
event->eventState = CTimerd::TIMERSTATE_SCHEDULED;
event->eventRepeat = evrepeat;