From ac763288277bb2ae7fc25a2f61018e337d18c86d Mon Sep 17 00:00:00 2001 From: Darkvater Date: Thu, 20 Apr 2006 22:09:12 +0000 Subject: (svn r4490) - Feature: The integer-list parser now accepts a space character as an item seperator next to the comma. --- settings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++; } -- cgit v1.2.3-70-g09d2