From ad47b4480e5d20fa0f6b2f7f98446f890ef3b477 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Tue, 30 Mar 2004 17:15:00 +0000 Subject: [PATCH] Bug #387 - usr352@wanadoo.es (Pedro Gimeno) Missing braces around a block of code. Correct fix was already in HEAD. --- ChangeLog | 8 ++++++++ src/fcxml.c | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) 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; } -- 2.39.5