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