(svn r4490) - Feature: The integer-list parser now accepts a space character as an item seperator next to the comma.

This commit is contained in:
Darkvater 2006-04-20 22:09:12 +00:00
parent abf0d81782
commit ac76328827

View File

@ -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++;
}