From ff599e4cda1755e54f1de55a4d7faf5095568691 Mon Sep 17 00:00:00 2001 From: kamel5 Date: Fri, 22 Mar 2019 13:52:26 +0100 Subject: Add "switchMinsBefore" to setup menu --- config.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'config.c') diff --git a/config.c b/config.c index 76d01c7..0cf17a9 100644 --- a/config.c +++ b/config.c @@ -64,6 +64,7 @@ cTvguideConfig::cTvguideConfig() { favLimitChannels = 0; favStartChannel = 0; favStopChannel = 0; + switchMinsBefore = 2; fontIndex = 0; fontNameDefault = "VDRSymbols Sans:Book"; FontButtonDelta = 0; @@ -299,6 +300,7 @@ bool cTvguideConfig::SetupParse(const char *Name, const char *Value) { else if (strcmp(Name, "favLimitChannels") == 0) favLimitChannels = atoi(Value); else if (strcmp(Name, "favStartChannel") == 0) favStartChannel = atoi(Value); else if (strcmp(Name, "favStopChannel") == 0) favStopChannel = atoi(Value); + else if (strcmp(Name, "switchMinsBefore") == 0) switchMinsBefore = atoi(Value); else if (strcmp(Name, "fontIndex") == 0) fontIndex = atoi(Value); else if (strcmp(Name, "FontButtonDelta") == 0) FontButtonDelta = atoi(Value); else if (strcmp(Name, "FontDetailViewDelta") == 0) FontDetailViewDelta = atoi(Value); @@ -331,4 +333,4 @@ bool cTvguideConfig::SetupParse(const char *Name, const char *Value) { else if (strcmp(Name, "limitLogoCache") == 0) limitLogoCache = atoi(Value); else return false; return true; -} \ No newline at end of file +} -- cgit v1.2.3