From dcac166e4a6af00ae18852a1cca002ae0b5dd818 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 1 Sep 2014 17:05:20 +0200 Subject: Add locale-independent number formatting and parsing functions. --- source/xps/xps-path.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/xps') 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 == ',') -- cgit v1.2.3