diff options
author | Frank Neumann <fnu@yavdr.org> | 2017-05-26 11:46:01 +0200 |
---|---|---|
committer | Frank Neumann <fnu@yavdr.org> | 2017-05-26 11:46:01 +0200 |
commit | 6ab0fcd425e0e54a04e12e3a61f5555c81b9ec25 (patch) | |
tree | 8e2d567f7c6a6ce1fcd81af45d433789310ad30a /setup.c | |
parent | 35b380b5b6ee8d46c1b5ed45837d3c35ea1a5faf (diff) | |
download | vdr-plugin-text2skin-6ab0fcd425e0e54a04e12e3a61f5555c81b9ec25.tar.gz vdr-plugin-text2skin-6ab0fcd425e0e54a04e12e3a61f5555c81b9ec25.tar.bz2 |
Make MAX_CHARS configurable.
Diffstat (limited to 'setup.c')
-rw-r--r-- | setup.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |