From 321ee2df3061a0e30899ebc9ad70728bb557d7b6 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 16 Jan 2018 13:42:08 +0100 Subject: Fix github issue #5: wrong return type from vec_dot in stext-device.c --- source/fitz/stext-device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3