From de088b1dfd0dd549005feb503efe1b41ca668b36 Mon Sep 17 00:00:00 2001 From: Alexei Podtelezhnikov Date: Fri, 19 Jun 2020 22:46:30 -0400 Subject: [PATCH] Simplify unused macro. --- include/freetype/internal/ftcalc.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/freetype/internal/ftcalc.h b/include/freetype/internal/ftcalc.h index 6bc2791f7..87c086977 100644 --- a/include/freetype/internal/ftcalc.h +++ b/include/freetype/internal/ftcalc.h @@ -448,8 +448,7 @@ FT_BEGIN_HEADER #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.