summaryrefslogtreecommitdiff
path: root/source/fitz/stext-device.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2018-01-16 13:42:08 +0100
committerTor Andersson <tor.andersson@artifex.com>2018-01-24 14:13:19 +0100
commit321ee2df3061a0e30899ebc9ad70728bb557d7b6 (patch)
tree35a47a2405a8d067d702300923089643b5786242 /source/fitz/stext-device.c
parenta55835a7adf8fcfc7a3906a223061e27d4c3bc38 (diff)
downloadmupdf-321ee2df3061a0e30899ebc9ad70728bb557d7b6.tar.xz
Fix github issue #5: wrong return type from vec_dot in stext-device.c
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 cd657acc..40b203b3 100644
--- a/source/fitz/stext-device.c
+++ b/source/fitz/stext-device.c
@@ -212,7 +212,7 @@ direction_from_bidi_class(int bidiclass, int curdir)
}
}
-static int
+static float
vec_dot(const fz_point *a, const fz_point *b)
{
return a->x * b->x + a->y * b->y;