From be618b6537f21ad608638067c2ac6606919e67a3 Mon Sep 17 00:00:00 2001 From: Frank Neumann Date: Fri, 26 May 2017 13:30:31 +0200 Subject: Make tab width configurable. --- setup.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'setup.c') diff --git a/setup.c b/setup.c index b2d3f9d..56e9fd7 100644 --- a/setup.c +++ b/setup.c @@ -15,6 +15,7 @@ cText2SkinSetup::cText2SkinSetup(void): CheckTimerConflict(false), MaxCacheFill(25), MaxChars(100), + TabWidth(false), SupportOldSkins(true) { } @@ -28,6 +29,7 @@ bool cText2SkinSetup::SetupParse(const char *Name, const char *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, "TabWidth") == 0) TabWidth = atoi(Value); else if (strcmp(Name, "SupportOldSkins") == 0) SupportOldSkins = atoi(Value); else return false; return true; -- cgit v1.2.3