summaryrefslogtreecommitdiff
path: root/switchtimer.c
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-03-22 13:52:26 +0100
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-03-22 15:06:14 +0100
commitff599e4cda1755e54f1de55a4d7faf5095568691 (patch)
tree8094e63c866ed19f00542ca3d33c23b10def85bd /switchtimer.c
parentf7e5ac3208a40ceed8bc3bd05fe81bffc774bbf5 (diff)
downloadvdr-plugin-tvguide-ff599e4cda1755e54f1de55a4d7faf5095568691.tar.gz
vdr-plugin-tvguide-ff599e4cda1755e54f1de55a4d7faf5095568691.tar.bz2
Add "switchMinsBefore" to setup menu
Diffstat (limited to 'switchtimer.c')
-rw-r--r--switchtimer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/switchtimer.c b/switchtimer.c
index 3a45f79..73ac24b 100644
--- a/switchtimer.c
+++ b/switchtimer.c
@@ -6,14 +6,14 @@ cSwitchTimers SwitchTimers;
cSwitchTimer::cSwitchTimer(void) {
eventID = 0;
startTime = 0;
- switchMinsBefore = 2;
+ switchMinsBefore = tvguideConfig.switchMinsBefore;
announceOnly = 0;
}
cSwitchTimer::cSwitchTimer(const cEvent* Event) {
eventID = 0;
startTime = 0;
- switchMinsBefore = 2;
+ switchMinsBefore = tvguideConfig.switchMinsBefore;
announceOnly = 0;
if (Event) {
eventID = Event->EventID();