Set exact boolean value to color property

This is a regression since 48e9e5f4
This commit is contained in:
Akira TAGOH 2020-02-27 14:21:45 +09:00
parent fbc05949ef
commit d3bfbea7dc
1 changed files with 1 additions and 1 deletions

View File

@ -1294,7 +1294,7 @@ FcFreeTypeQueryFaceInternal (const FT_Face face,
if (!FcPatternObjectAddBool (pat, FC_OUTLINE_OBJECT, has_outline))
goto bail1;
has_color = FT_HAS_COLOR (face);
has_color = !!FT_HAS_COLOR (face);
if (!FcPatternObjectAddBool (pat, FC_COLOR_OBJECT, has_color))
goto bail1;