summaryrefslogtreecommitdiff
path: root/ttools.c
diff options
context:
space:
mode:
authorhorchi <vdr@jwendel.de>2020-02-16 11:48:53 +0100
committerhorchi <vdr@jwendel.de>2020-02-16 11:48:53 +0100
commit3498fff069e4c02588fae02b3b44e0ded35cc0ee (patch)
tree536516dbe62466bd375feecf033552b245143075 /ttools.c
parent2387a5893be264e59e60a8f9e1c302c53b791128 (diff)
downloadvdr-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ttools.c b/ttools.c
index 168fe63..685f383 100644
--- a/ttools.c
+++ b/ttools.c
@@ -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);