diff options
Diffstat (limited to 'source/xps')
-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 3f22ce29..731ffe9c 100644 --- a/source/xps/xps-path.c +++ b/source/xps/xps-path.c @@ -17,7 +17,7 @@ xps_parse_float_array(fz_context *ctx, xps_document *doc, char *s, int num, floa { while (*s == 0x0d || *s == '\t' || *s == ' ' || *s == 0x0a) s++; - x[k] = (float)fz_strtod(s, &s); + x[k] = fz_strtof(s, &s); while (*s == 0x0d || *s == '\t' || *s == ' ' || *s == 0x0a) s++; if (*s == ',') |