summaryrefslogtreecommitdiff
path: root/source/xps
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2017-05-22 13:55:02 +0200
committerTor Andersson <tor.andersson@artifex.com>2017-05-23 11:35:52 +0200
commitf01a11057f3352330bacd411160db1c2a032a1dc (patch)
tree4310296d83159fd56d308edcd35e64afc1b989ff /source/xps
parent3e55e78241bd2848d360b2d4572714e013c0d2bf (diff)
downloadmupdf-f01a11057f3352330bacd411160db1c2a032a1dc.tar.xz
Remove unused strtod function.
Diffstat (limited to 'source/xps')
-rw-r--r--source/xps/xps-path.c2
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 == ',')