summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhorchi <vdr@jwendel.de>2018-02-24 16:24:57 (GMT)
committerhorchi <vdr@jwendel.de>2018-02-24 16:24:57 (GMT)
commitd2ec6fb724598669795656d0e2e080a773478732 (patch)
treee9826ecd1c0672d6aa6ebe203530e2baae666438
parent8c8f64f0de0b1d945c56525a68e3ae91d723da21 (diff)
downloadvdr-plugin-epg2vdr-dev.tar.gz
vdr-plugin-epg2vdr-dev.tar.bz2
last fix :odev
-rw-r--r--timer.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/timer.c b/timer.c
index cbb8d02..fbce130 100644
--- a/timer.c
+++ b/timer.c
@@ -515,12 +515,9 @@ int cUpdate::takeSwitchTimer()
switchTimers[timerid].eventId = timerDb->getIntValue("EVENTID");
switchTimers[timerid].channelId = timerDb->getStrValue("CHANNELID");
- switchTimers[timerid].start = (timerDb->getIntValue("_STARTTIME") * 60) / 60; // cut seconds
+ switchTimers[timerid].start = (timerDb->getIntValue("_STARTTIME") / 60) * 60; // cut seconds
switchTimers[timerid].notified = no;
- tell(0, "'%s' - '%s'", l2pTime(timerDb->getIntValue("_STARTTIME")).c_str(),
- l2pTime((timerDb->getIntValue("_STARTTIME") * 60) / 60).c_str());
-
// and register timer for it
timerThreads.push_back(new cTimerThread(&sendEvent, evtSwitchTimer,