Commit d3bfbea7 authored by Akira TAGOH's avatar Akira TAGOH

Set exact boolean value to color property

This is a regression since 48e9e5f4
parent fbc05949
Pipeline #113305 passed with stage
in 4 minutes and 48 seconds
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment