From: Keith Packard Date: Tue, 30 Mar 2004 17:15:00 +0000 (+0000) Subject: Bug #387 - usr352@wanadoo.es (Pedro Gimeno) X-Git-Tag: fc-2_2_3~6 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=ad47b4480e5d20fa0f6b2f7f98446f890ef3b477;p=fontconfig.git Bug #387 - usr352@wanadoo.es (Pedro Gimeno) Missing braces around a block of code. Correct fix was already in HEAD. --- diff --git a/ChangeLog b/ChangeLog index 7518192..f71330f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2004-03-30 Keith Packard + + Bug #387 - usr352@wanadoo.es (Pedro Gimeno) + + * src/fcxml.c: (FcStrtod): + Missing braces around a block of code. Correct fix was + already in HEAD. + 2004-03-28 Tor Lillqvist Merge from HEAD: diff --git a/src/fcxml.c b/src/fcxml.c index 3d3023f..922c576 100644 --- a/src/fcxml.c +++ b/src/fcxml.c @@ -961,10 +961,11 @@ FcStrtod (char *s, char **end) strcpy (buf + (dot - s) + dlen, dot + 1); buf_end = 0; v = strtod (buf, &buf_end); - if (buf_end) + if (buf_end) { buf_end = s + (buf_end - buf); if (buf_end > dot) buf_end -= dlen - 1; + } if (end) *end = buf_end; }