Minor.
* include/freetype/freetype.h (FT_HAS_*, FT_IS_*): Protect macro argument with parentheses.
This commit is contained in:
parent
432e00db2e
commit
d9fb2175c4
|
@ -1,3 +1,10 @@
|
|||
2016-04-24 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
Minor.
|
||||
|
||||
* include/freetype/freetype.h (FT_HAS_*, FT_IS_*): Protect macro
|
||||
argument with parentheses.
|
||||
|
||||
2016-04-24 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[truetype] Fix deallocation in case of error (#47726).
|
||||
|
|
|
@ -1222,7 +1222,7 @@ FT_BEGIN_HEADER
|
|||
*
|
||||
*/
|
||||
#define FT_HAS_HORIZONTAL( face ) \
|
||||
( face->face_flags & FT_FACE_FLAG_HORIZONTAL )
|
||||
( (face)->face_flags & FT_FACE_FLAG_HORIZONTAL )
|
||||
|
||||
|
||||
/*************************************************************************
|
||||
|
@ -1236,7 +1236,7 @@ FT_BEGIN_HEADER
|
|||
*
|
||||
*/
|
||||
#define FT_HAS_VERTICAL( face ) \
|
||||
( face->face_flags & FT_FACE_FLAG_VERTICAL )
|
||||
( (face)->face_flags & FT_FACE_FLAG_VERTICAL )
|
||||
|
||||
|
||||
/*************************************************************************
|
||||
|
@ -1250,7 +1250,7 @@ FT_BEGIN_HEADER
|
|||
*
|
||||
*/
|
||||
#define FT_HAS_KERNING( face ) \
|
||||
( face->face_flags & FT_FACE_FLAG_KERNING )
|
||||
( (face)->face_flags & FT_FACE_FLAG_KERNING )
|
||||
|
||||
|
||||
/*************************************************************************
|
||||
|
@ -1265,7 +1265,7 @@ FT_BEGIN_HEADER
|
|||
*
|
||||
*/
|
||||
#define FT_IS_SCALABLE( face ) \
|
||||
( face->face_flags & FT_FACE_FLAG_SCALABLE )
|
||||
( (face)->face_flags & FT_FACE_FLAG_SCALABLE )
|
||||
|
||||
|
||||
/*************************************************************************
|
||||
|
@ -1284,7 +1284,7 @@ FT_BEGIN_HEADER
|
|||
*
|
||||
*/
|
||||
#define FT_IS_SFNT( face ) \
|
||||
( face->face_flags & FT_FACE_FLAG_SFNT )
|
||||
( (face)->face_flags & FT_FACE_FLAG_SFNT )
|
||||
|
||||
|
||||
/*************************************************************************
|
||||
|
@ -1299,7 +1299,7 @@ FT_BEGIN_HEADER
|
|||
*
|
||||
*/
|
||||
#define FT_IS_FIXED_WIDTH( face ) \
|
||||
( face->face_flags & FT_FACE_FLAG_FIXED_WIDTH )
|
||||
( (face)->face_flags & FT_FACE_FLAG_FIXED_WIDTH )
|
||||
|
||||
|
||||
/*************************************************************************
|
||||
|
@ -1314,7 +1314,7 @@ FT_BEGIN_HEADER
|
|||
*
|
||||
*/
|
||||
#define FT_HAS_FIXED_SIZES( face ) \
|
||||
( face->face_flags & FT_FACE_FLAG_FIXED_SIZES )
|
||||
( (face)->face_flags & FT_FACE_FLAG_FIXED_SIZES )
|
||||
|
||||
|
||||
/*************************************************************************
|
||||
|
@ -1340,7 +1340,7 @@ FT_BEGIN_HEADER
|
|||
*
|
||||
*/
|
||||
#define FT_HAS_GLYPH_NAMES( face ) \
|
||||
( face->face_flags & FT_FACE_FLAG_GLYPH_NAMES )
|
||||
( (face)->face_flags & FT_FACE_FLAG_GLYPH_NAMES )
|
||||
|
||||
|
||||
/*************************************************************************
|
||||
|
@ -1355,7 +1355,7 @@ FT_BEGIN_HEADER
|
|||
*
|
||||
*/
|
||||
#define FT_HAS_MULTIPLE_MASTERS( face ) \
|
||||
( face->face_flags & FT_FACE_FLAG_MULTIPLE_MASTERS )
|
||||
( (face)->face_flags & FT_FACE_FLAG_MULTIPLE_MASTERS )
|
||||
|
||||
|
||||
/*************************************************************************
|
||||
|
@ -1373,7 +1373,7 @@ FT_BEGIN_HEADER
|
|||
*
|
||||
*/
|
||||
#define FT_IS_CID_KEYED( face ) \
|
||||
( face->face_flags & FT_FACE_FLAG_CID_KEYED )
|
||||
( (face)->face_flags & FT_FACE_FLAG_CID_KEYED )
|
||||
|
||||
|
||||
/*************************************************************************
|
||||
|
@ -1387,7 +1387,7 @@ FT_BEGIN_HEADER
|
|||
*
|
||||
*/
|
||||
#define FT_IS_TRICKY( face ) \
|
||||
( face->face_flags & FT_FACE_FLAG_TRICKY )
|
||||
( (face)->face_flags & FT_FACE_FLAG_TRICKY )
|
||||
|
||||
|
||||
/*************************************************************************
|
||||
|
@ -1401,7 +1401,7 @@ FT_BEGIN_HEADER
|
|||
*
|
||||
*/
|
||||
#define FT_HAS_COLOR( face ) \
|
||||
( face->face_flags & FT_FACE_FLAG_COLOR )
|
||||
( (face)->face_flags & FT_FACE_FLAG_COLOR )
|
||||
|
||||
|
||||
/*************************************************************************/
|
||||
|
|
Loading…
Reference in New Issue