summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY4
-rw-r--r--config.c3
-rw-r--r--setup.c1
-rw-r--r--tvguideng.c2
4 files changed, 8 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index f775af8..04206a4 100644
--- a/HISTORY
+++ b/HISTORY
@@ -46,3 +46,7 @@ Version 0.1.4
Version 0.1.5
+- fixed bug saving intelligentSwitch setup option
+
+Version 0.1.6
+
diff --git a/config.c b/config.c
index 9b358df..46cb3b9 100644
--- a/config.c
+++ b/config.c
@@ -59,6 +59,7 @@ bool cTVGuideConfig::SetupParse(const char *Name, const char *Value) {
else if (!strcasecmp(Name, "closeOnSwitch")) closeOnSwitch = atoi(Value);
else if (!strcasecmp(Name, "numKeyMode")) numKeyMode = atoi(Value);
else if (!strcasecmp(Name, "blueKeyMode")) blueKeyMode = atoi(Value);
+ else if (!strcasecmp(Name, "intelligentSwitch")) intelligentSwitch = atoi(Value);
else if (!strcasecmp(Name, "rerunAmount")) rerunAmount = atoi(Value);
else if (!strcasecmp(Name, "rerunDistance")) rerunDistance = atoi(Value);
else if (!strcasecmp(Name, "rerunMaxChannel")) rerunMaxChannel = atoi(Value);
@@ -85,4 +86,4 @@ bool cTVGuideConfig::SetupParse(const char *Name, const char *Value) {
else return false;
return true;
-} \ No newline at end of file
+}
diff --git a/setup.c b/setup.c
index 471e424..d512fa7 100644
--- a/setup.c
+++ b/setup.c
@@ -106,6 +106,7 @@ void cTvGuideSetup::Store(void) {
SetupStore("closeOnSwitch", config.closeOnSwitch);
SetupStore("numKeyMode", config.numKeyMode);
SetupStore("blueKeyMode", config.blueKeyMode);
+ SetupStore("intelligentSwitch", config.intelligentSwitch);
SetupStore("rerunAmount", config.rerunAmount);
SetupStore("rerunDistance", config.rerunDistance);
SetupStore("rerunMaxChannel", config.rerunMaxChannel);
diff --git a/tvguideng.c b/tvguideng.c
index 091b720..eed321a 100644
--- a/tvguideng.c
+++ b/tvguideng.c
@@ -13,7 +13,7 @@
#include "setup.h"
#include "tvguidengosd.h"
-static const char *VERSION = "0.1.5";
+static const char *VERSION = "0.1.6";
static const char *DESCRIPTION = "TV Guide for Skindesigner Skins";
static const char *MAINMENUENTRY = "TV Guide NG";