summaryrefslogtreecommitdiff
path: root/switchtimer.c
diff options
context:
space:
mode:
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();