changeset 151:434c0eae87c9

Add '-' to allowed configuration key names.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 28 Jan 2015 08:06:02 +0200
parents 9bc7f60f3013
children b4e1b15a64e1
files th_config.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/th_config.c	Wed Jan 07 20:21:27 2015 +0200
+++ b/th_config.c	Wed Jan 28 08:06:02 2015 +0200
@@ -327,7 +327,7 @@
                 parseMode = PM_NEXT;
                 nextMode = PM_KEYSET;
             }
-            else if (th_isalnum(c) || c == '_')
+            else if (th_isalnum(c) || c == '_' || c == '-')
             {
                 // Add to key name string
                 VADDCH(c)