commit | 15eba74ffe85d13ecafd032fe44bbabe26670f8c | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <behdad@behdad.org> | Fri Aug 04 17:01:56 2017 +0100 |
committer | Behdad Esfahbod <behdad@behdad.org> | Tue Sep 12 17:02:27 2017 -0400 |
tree | 62651531ff109d1546c382ee7866e91d8b697e27 | |
parent | ac802955cd26ba9175b5be36ca653c0904c9723a [diff] |
Use multiplication instead of division
diff --git a/src/fcfreetype.c b/src/fcfreetype.c index 2f99928..1646dc7 100644 --- a/src/fcfreetype.c +++ b/src/fcfreetype.c
@@ -2102,7 +2102,7 @@ return FcTrue; } -#define APPROXIMATELY_EQUAL(x,y) (FC_ABS ((x) - (y)) <= FC_MAX (FC_ABS (x), FC_ABS (y)) / 33) +#define APPROXIMATELY_EQUAL(x,y) (FC_ABS ((x) - (y)) * 33 <= FC_MAX (FC_ABS (x), FC_ABS (y))) FcCharSet * FcFreeTypeCharSetAndSpacing (FT_Face face, FcBlanks *blanks FC_UNUSED, int *spacing)