summaryrefslogtreecommitdiff
path: root/setup.c
diff options
context:
space:
mode:
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;