summaryrefslogtreecommitdiff
path: root/source/fitz/stext-device.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/fitz/stext-device.c')
-rw-r--r--source/fitz/stext-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/stext-device.c b/source/fitz/stext-device.c
index 6d7df972..f693c115 100644
--- a/source/fitz/stext-device.c
+++ b/source/fitz/stext-device.c
@@ -332,7 +332,7 @@ fz_add_stext_char_imp(fz_context *ctx, fz_stext_device *dev, fz_font *font, int
/* LTR or neutral character */
if (dev->curdir >= 0)
{
- if (fabs(spacing) < size * SPACE_DIST)
+ if (fabsf(spacing) < size * SPACE_DIST)
{
/* Motion is in line, and small. */
new_line = 0;