Was miscomputing end of string position for FcStrtod in locales with

multibyte separators
This commit is contained in:
Keith Packard 2003-07-09 17:04:17 +00:00
parent 656c69d6a8
commit 26da2bb42f
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}