projects
/
platform
/
upstream
/
fontconfig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
656c69d
)
Was miscomputing end of string position for FcStrtod in locales with
author
Keith Packard
<keithp@keithp.com>
Wed, 9 Jul 2003 17:04:17 +0000
(17:04 +0000)
committer
Keith Packard
<keithp@keithp.com>
Wed, 9 Jul 2003 17:04:17 +0000
(17:04 +0000)
multibyte separators
src/fcxml.c
patch
|
blob
|
history
diff --git
a/src/fcxml.c
b/src/fcxml.c
index
3cdbaa4
..
acb1bac
100644
(file)
--- 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;
}