commit | d3bfbea7dc53aa7fa52aa9616235a23d4507da1b | [log] [tgz] |
---|---|---|
author | Akira TAGOH <akira@tagoh.org> | Thu Feb 27 14:21:45 2020 +0900 |
committer | Akira TAGOH <akira@tagoh.org> | Thu Feb 27 14:25:10 2020 +0900 |
tree | 8d7f49fe7a9b11c311ac8c651469e9a2927d29f8 | |
parent | fbc05949ef52c8a8d69233eed77f6636dffec280 [diff] |
Set exact boolean value to color property This is a regression since 48e9e5f4
diff --git a/src/fcfreetype.c b/src/fcfreetype.c index 9c2ae83..cd8fa43 100644 --- a/src/fcfreetype.c +++ b/src/fcfreetype.c
@@ -1294,7 +1294,7 @@ 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;