Allow trailing non-numeric chars in --unicodes
This commit is contained in:
parent
a289aaff47
commit
8269791900
|
@ -340,8 +340,10 @@ parse_unicodes (const char *name G_GNUC_UNUSED,
|
|||
|
||||
while (s && *s)
|
||||
{
|
||||
while (*s && strchr ("<+>{},;&#\\xXuUnNiI\n\t", *s))
|
||||
while (*s && strchr ("<+>{},;&#\\xXuUnNiI\n\t\v\f\r ", *s))
|
||||
s++;
|
||||
if (!*s)
|
||||
break;
|
||||
|
||||
errno = 0;
|
||||
hb_codepoint_t u = strtoul (s, &p, 16);
|
||||
|
|
Loading…
Reference in New Issue