Was miscomputing end of string position for FcStrtod in locales with
multibyte separators
This commit is contained in:
parent
656c69d6a8
commit
26da2bb42f
|
@ -974,7 +974,7 @@ FcStrtod (char *s, char **end)
|
|||
buf_end = 0;
|
||||
v = strtod (buf, &buf_end);
|
||||
if (buf_end)
|
||||
buf_end = s + (buf_end - buf);
|
||||
buf_end = s + (buf_end - buf) + 1 - dlen;
|
||||
if (end)
|
||||
*end = buf_end;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue