summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'config.c')
-rw-r--r--config.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/config.c b/config.c
index 46cb3b9..b5aaabb 100644
--- a/config.c
+++ b/config.c
@@ -42,6 +42,7 @@ cTVGuideConfig::cTVGuideConfig(void) {
favStartChannel = 0;
favStopChannel = 0;
useSubtitleRerun = 1;
+ switchMinsBefore = 2;
}
bool cTVGuideConfig::SetupParse(const char *Name, const char *Value) {
@@ -83,7 +84,8 @@ bool cTVGuideConfig::SetupParse(const char *Name, const char *Value) {
else if (!strcasecmp(Name, "favLimitChannels")) favLimitChannels = atoi(Value);
else if (!strcasecmp(Name, "favStartChannel")) favStartChannel = atoi(Value);
else if (!strcasecmp(Name, "favStopChannel")) favStopChannel = atoi(Value);
+ else if (!strcasecmp(Name, "switchMinsBefore")) switchMinsBefore = atoi(Value);
else return false;
return true;
-}
+} \ No newline at end of file