summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--settings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings.c b/settings.c
index 6123356fa..b5aec9818 100644
--- a/settings.c
+++ b/settings.c
@@ -406,7 +406,7 @@ static int parse_intlist(const char *p, int *items, int maxitems)
p = end;
items[n++] = v;
if (*p == '\0') break;
- if (*p != ',') return -1;
+ if (*p != ',' && *p != ' ') return -1;
p++;
}