summaryrefslogtreecommitdiff
path: root/source/fitz/printf.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/fitz/printf.c')
-rw-r--r--source/fitz/printf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/printf.c b/source/fitz/printf.c
index 8a429db6..8681ac1c 100644
--- a/source/fitz/printf.c
+++ b/source/fitz/printf.c
@@ -26,7 +26,7 @@ static void fmtfloat(struct fmtbuf *out, float f)
if (isnan(f)) f = 0;
if (isinf(f)) f = f < 0 ? -FLT_MAX : FLT_MAX;
- fz_dtoa(f, digits, &exp, &neg, &ndigits);
+ fz_ftoa(f, digits, &exp, &neg, &ndigits);
point = exp + ndigits;
if (neg)