diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2014-09-01 17:05:20 +0200 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2014-09-02 10:16:36 +0100 |
commit | dcac166e4a6af00ae18852a1cca002ae0b5dd818 (patch) | |
tree | cb414c380d2ed5823c14e9bb4a9d6059a32120c8 /source/xps/xps-path.c | |
parent | 84c616094639d38d076aba71bf8283b532f434f6 (diff) | |
download | mupdf-dcac166e4a6af00ae18852a1cca002ae0b5dd818.tar.xz |
Add locale-independent number formatting and parsing functions.
Diffstat (limited to 'source/xps/xps-path.c')
-rw-r--r-- | source/xps/xps-path.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/xps/xps-path.c b/source/xps/xps-path.c index 7b71575f..cf4f2ff7 100644 --- a/source/xps/xps-path.c +++ b/source/xps/xps-path.c @@ -12,7 +12,7 @@ xps_parse_float_array(char *s, int num, float *x) { while (*s == 0x0d || *s == '\t' || *s == ' ' || *s == 0x0a) s++; - x[k] = (float)strtod(s, &s); + x[k] = (float)fz_strtod(s, &s); while (*s == 0x0d || *s == '\t' || *s == ' ' || *s == 0x0a) s++; if (*s == ',') |