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 3b0a6f5..9a3a4a9 100644
--- a/config.c
+++ b/config.c
@@ -14,7 +14,8 @@ cSetupBlock SetupBlock;
cSetupBlock::cSetupBlock(void):
HideMenuEntry(0),
- MessageTimeout(2)
+ MessageTimeout(2),
+ DetectionMethod(0)
{
}
@@ -22,6 +23,7 @@ bool cSetupBlock::Parse(const char *Name, const char *Value)
{
if (strcmp(Name, "HideMenuEntry") == 0) HideMenuEntry = atoi(Value);
else if (strcmp(Name, "MessageTimeout") == 0) MessageTimeout = atoi(Value);
+ else if (strcmp(Name, "DetectionMethod") == 0) DetectionMethod = atoi(Value);
else return false;
return true;
}