Fix assigning flag to bool
This commit is contained in:
@@ -153,7 +153,7 @@ static void blf_font_ensure_ascii_table(FontBLF *font)
|
||||
|
||||
|
||||
#define BLF_KERNING_VARS(_font, _has_kerning, _kern_mode) \
|
||||
const bool _has_kerning = FT_HAS_KERNING((_font)->face); \
|
||||
const bool _has_kerning = FT_HAS_KERNING((_font)->face) != 0; \
|
||||
const FT_UInt _kern_mode = (_has_kerning == 0) ? 0 : \
|
||||
(((_font)->flags & BLF_KERNING_DEFAULT) ? \
|
||||
ft_kerning_default : (FT_UInt)FT_KERNING_UNFITTED) \
|
||||
|
||||
Reference in New Issue
Block a user