This commit is contained in:
Behdad Esfahbod 2014-07-03 21:15:25 -04:00
parent e708e97c35
commit 940d27a197
1 changed files with 2 additions and 2 deletions

View File

@ -822,14 +822,14 @@ FcNameParseRange (FcChar8 **string, FcChar32 *pfirst, FcChar32 *plast)
char *t;
long first, last;
while (isspace(*s) || *s == ',')
while (isspace(*s))
s++;
t = s;
errno = 0;
first = last = strtol (s, &s, 16);
if (errno)
return FcFalse;
while (isspace(*s) || *s == ',')
while (isspace(*s))
s++;
if (*s == '-')
{