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/fitz/string.c | |
parent | 84c616094639d38d076aba71bf8283b532f434f6 (diff) | |
download | mupdf-dcac166e4a6af00ae18852a1cca002ae0b5dd818.tar.xz |
Add locale-independent number formatting and parsing functions.
Diffstat (limited to 'source/fitz/string.c')
-rw-r--r-- | source/fitz/string.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/string.c b/source/fitz/string.c index 1442b205..cab8387e 100644 --- a/source/fitz/string.c +++ b/source/fitz/string.c @@ -247,7 +247,7 @@ float fz_atof(const char *s) * don't read a number that's OK as a double and then become invalid * as we convert to a float. */ errno = 0; - d = strtod(s, NULL); + d = fz_strtod(s, NULL); if (errno == ERANGE || isnan(d)) { /* Return 1.0, as it's a small known value that won't cause a divide by 0. */ return 1.0; |