Set exact boolean value to color property
This is a regression since 48e9e5f4
This commit is contained in:
parent
fbc05949ef
commit
d3bfbea7dc
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue