ref: de088b1dfd0dd549005feb503efe1b41ca668b36
parent: f594ffdc357a4e73f739fa6c2c79f656b7d31a0b
author: Alexei Podtelezhnikov <[email protected]>
date: Fri Jun 19 18:46:30 EDT 2020
Simplify unused macro.
--- a/include/freetype/internal/ftcalc.h
+++ b/include/freetype/internal/ftcalc.h
@@ -448,8 +448,7 @@
#define F2DOT14_TO_FIXED( x ) ( (FT_Long)(x) * 4 ) /* << 2 */
#define FIXED_TO_INT( x ) ( FT_RoundFix( x ) >> 16 )
-#define ROUND_F26DOT6( x ) ( x >= 0 ? ( ( (x) + 32 ) & -64 ) \
- : ( -( ( 32 - (x) ) & -64 ) ) )
+#define ROUND_F26DOT6( x ) ( ( (x) + 32 - ( x < 0 ) ) & -64 )
/*
* The following macros have two purposes.