diff --git a/src/fcxml.c b/src/fcxml.c index 3cdbaa4..acb1bac 100644 --- a/src/fcxml.c +++ b/src/fcxml.c @@ -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; }