diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2017-10-04 20:44:20 +0200 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2017-10-05 13:07:43 +0200 |
commit | bf5c87d664dbdac75d35a9c3927599aa451e45dc (patch) | |
tree | c13647d874ff40a7c3cb158f5223a05b95c73ee2 /source/fitz/stext-device.c | |
parent | 987f73ca0c196489782f44b18e3cb09df074d502 (diff) | |
download | mupdf-bf5c87d664dbdac75d35a9c3927599aa451e45dc.tar.xz |
Avoid double literals and double math functions.
Diffstat (limited to 'source/fitz/stext-device.c')
-rw-r--r-- | source/fitz/stext-device.c | 2 |
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; |