summaryrefslogtreecommitdiff
path: root/config.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 /config.c
parentf7e5ac3208a40ceed8bc3bd05fe81bffc774bbf5 (diff)
downloadvdr-plugin-tvguide-ff599e4cda1755e54f1de55a4d7faf5095568691.tar.gz
vdr-plugin-tvguide-ff599e4cda1755e54f1de55a4d7faf5095568691.tar.bz2
Add "switchMinsBefore" to setup menu
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 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
+}