[Commit] fontconfig/src fcxml.c,1.28,1.29
Keith Packard
commit at keithp.com
Wed Jul 9 11:04:20 PDT 2003
Committed by: keithp
Update of /local/src/CVS/fontconfig/src
In directory home.keithp.com:/tmp/cvs-serv31633
Modified Files:
fcxml.c
Log Message:
Was miscomputing end of string position for FcStrtod in locales with multibyte separators
Index: fcxml.c
===================================================================
RCS file: /local/src/CVS/fontconfig/src/fcxml.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- fcxml.c 7 May 2003 16:13:24 -0000 1.28
+++ fcxml.c 9 Jul 2003 17:04:17 -0000 1.29
@@ -974,7 +974,7 @@
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;
}
More information about the Commit
mailing list