summaryrefslogtreecommitdiff
path: root/setup.c
diff options
context:
space:
mode:
authorFrank Neumann <fnu@yavdr.org>2017-05-26 11:46:01 +0200
committerFrank Neumann <fnu@yavdr.org>2017-05-26 11:46:01 +0200
commit6ab0fcd425e0e54a04e12e3a61f5555c81b9ec25 (patch)
tree8e2d567f7c6a6ce1fcd81af45d433789310ad30a /setup.c
parent35b380b5b6ee8d46c1b5ed45837d3c35ea1a5faf (diff)
downloadvdr-plugin-text2skin-6ab0fcd425e0e54a04e12e3a61f5555c81b9ec25.tar.gz
vdr-plugin-text2skin-6ab0fcd425e0e54a04e12e3a61f5555c81b9ec25.tar.bz2
Make MAX_CHARS configurable.
Diffstat (limited to 'setup.c')
-rw-r--r--setup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/setup.c b/setup.c
index 18da5ba..b2d3f9d 100644
--- a/setup.c
+++ b/setup.c
@@ -14,6 +14,7 @@ cText2SkinSetup::cText2SkinSetup(void):
StripAux(true),
CheckTimerConflict(false),
MaxCacheFill(25),
+ MaxChars(100),
SupportOldSkins(true)
{
}
@@ -26,6 +27,7 @@ bool cText2SkinSetup::SetupParse(const char *Name, const char *Value) {
else if (strcmp(Name, "StripAux") == 0) StripAux = atoi(Value);
else if (strcmp(Name, "CheckTimerConflict") == 0) CheckTimerConflict = atoi(Value);
else if (strcmp(Name, "MaxCacheFill") == 0) MaxCacheFill = atoi(Value);
+ else if (strcmp(Name, "MaxChars") == 0) MaxChars = atoi(Value);
else if (strcmp(Name, "SupportOldSkins") == 0) SupportOldSkins = atoi(Value);
else return false;
return true;