summaryrefslogtreecommitdiff
path: root/switchtimer.c
diff options
context:
space:
mode:
Diffstat (limited to 'switchtimer.c')
-rw-r--r--switchtimer.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/switchtimer.c b/switchtimer.c
index 1f6eea9..b3b9ab6 100644
--- a/switchtimer.c
+++ b/switchtimer.c
@@ -6,15 +6,13 @@ cSwitchTimers SwitchTimers;
cSwitchTimer::cSwitchTimer(void) {
eventID = 0;
startTime = 0;
- switchMinsBefore = tvguideConfig.switchMinsBefore;
- switchMode = tvguideConfig.switchMode;
+ switchMinsBefore = config.switchMinsBefore;
+ switchMode = config.switchMode;
}
cSwitchTimer::cSwitchTimer(const cEvent* Event) {
eventID = 0;
startTime = 0;
-// switchMinsBefore = tvguideConfig.switchMinsBefore;
-// switchModes = tvguideConfig.switchModes;
if (Event) {
eventID = Event->EventID();
channelID = Event->ChannelID();