Bug #387 - usr352@wanadoo.es (Pedro Gimeno)
Missing braces around a block of code. Correct fix was already in HEAD.
This commit is contained in:
parent
d48384899e
commit
ad47b4480e
|
@ -1,3 +1,11 @@
|
|||
2004-03-30 Keith Packard <keithp@keithp.com>
|
||||
|
||||
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 <tml@iki.fi>
|
||||
|
||||
Merge from HEAD:
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue