diff options
author | horchi <vdr@jwendel.de> | 2020-02-16 11:48:53 +0100 |
---|---|---|
committer | horchi <vdr@jwendel.de> | 2020-02-16 11:48:53 +0100 |
commit | 3498fff069e4c02588fae02b3b44e0ded35cc0ee (patch) | |
tree | 536516dbe62466bd375feecf033552b245143075 /ttools.c | |
parent | 2387a5893be264e59e60a8f9e1c302c53b791128 (diff) | |
download | vdr-plugin-epg2vdr-3498fff069e4c02588fae02b3b44e0ded35cc0ee.tar.gz vdr-plugin-epg2vdr-3498fff069e4c02588fae02b3b44e0ded35cc0ee.tar.bz2 |
2020-02-16: version 1.1.108 (horchi)\n - bugfix: 'Fix of fix' of time handling for timers without event :(\n\n
Diffstat (limited to 'ttools.c')
-rw-r--r-- | ttools.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -330,7 +330,7 @@ int updateRowByTimer(cDbRow* timerRow, const cTimer* t) contentOfTag(t, "source", source, 40); time_t startTime = hhmm2L(t->Start(), t->Day()); - time_t endTime = hhmm2L(t->Stop(), t->Day() + t->Stop() < t->Start() ? tmeSecondsPerDay : 0); + time_t endTime = hhmm2L(t->Stop(), t->Day() + t->Stop() < t->Start() ? t->Day() + tmeSecondsPerDay : t->Day()); timerRow->setValue("VDRUUID", Epg2VdrConfig.uuid); timerRow->setValue("EVENTID", t->Event() ? (long)t->Event()->EventID() : 0); |