Commit 79f1aaef authored by Keith Packard's avatar Keith Packard
Browse files

Was miscomputing end of string position for FcStrtod in locales with

    multibyte separators (2.2 branch)
parent 339c83e1
......@@ -962,7 +962,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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment