summaryrefslogtreecommitdiff
path: root/client/setup.c
diff options
context:
space:
mode:
authorschmirl <schmirl>2009-02-03 10:26:21 +0000
committerschmirl <schmirl>2009-02-03 10:26:21 +0000
commit37f2adf02bea2ce891c9175f6580aedef4390616 (patch)
treea95d8b150d231dd8ca081b6ebd4b84ec7bd6930e /client/setup.c
parent479d5c4b48a5b33f1669fb5db564f513740b1d50 (diff)
downloadvdr-plugin-streamdev-37f2adf02bea2ce891c9175f6580aedef4390616.tar.gz
vdr-plugin-streamdev-37f2adf02bea2ce891c9175f6580aedef4390616.tar.bz2
Fixed parsing Min/MaxPriority from config
Diffstat (limited to 'client/setup.c')
-rw-r--r--client/setup.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/setup.c b/client/setup.c
index 46ad7af..bf050b3 100644
--- a/client/setup.c
+++ b/client/setup.c
@@ -1,5 +1,5 @@
/*
- * $Id: setup.c,v 1.7 2009/01/29 07:48:59 schmirl Exp $
+ * $Id: setup.c,v 1.8 2009/02/03 10:26:21 schmirl Exp $
*/
#include <vdr/menuitems.h>
@@ -32,8 +32,8 @@ bool cStreamdevClientSetup::SetupParse(const char *Name, const char *Value) {
else if (strcmp(Name, "StreamFilters") == 0) StreamFilters = atoi(Value);
else if (strcmp(Name, "SyncEPG") == 0) SyncEPG = atoi(Value);
else if (strcmp(Name, "HideMenuEntry") == 0) HideMenuEntry = atoi(Value);
- else if (strcmp(Name, "MinPriority") == 0) HideMenuEntry = atoi(Value);
- else if (strcmp(Name, "MaxPriority") == 0) HideMenuEntry = atoi(Value);
+ else if (strcmp(Name, "MinPriority") == 0) MinPriority = atoi(Value);
+ else if (strcmp(Name, "MaxPriority") == 0) MaxPriority = atoi(Value);
else return false;
return true;
}