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; char *t;
long first, last; long first, last;
while (isspace(*s) || *s == ',') while (isspace(*s))
s++; s++;
t = s; t = s;
errno = 0; errno = 0;
first = last = strtol (s, &s, 16); first = last = strtol (s, &s, 16);
if (errno) if (errno)
return FcFalse; return FcFalse;
while (isspace(*s) || *s == ',') while (isspace(*s))
s++; s++;
if (*s == '-') if (*s == '-')
{ {