Commit de088b1dfd0dd549005feb503efe1b41ca668b36

Alexei Podtelezhnikov 2020-06-19T22:46:30

Simplify unused macro.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/include/freetype/internal/ftcalc.h b/include/freetype/internal/ftcalc.h
index 6bc2791..87c0869 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.