From ef3252e0272e0eb7d483a017f947ad8f5570ea3e Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 12 Sep 2017 11:42:18 -0400 Subject: Minor --- src/fcfreetype.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/fcfreetype.c b/src/fcfreetype.c index 724f275..4be025a 100644 --- a/src/fcfreetype.c +++ b/src/fcfreetype.c @@ -1219,14 +1219,11 @@ FcFreeTypeQueryFace (const FT_Face face, int has_outline = !!(face->face_flags & FT_FACE_FLAG_SCALABLE); int has_color = 0; -#ifdef FT_FACE_FLAG_COLOR - has_color = !!(face->face_flags & FT_FACE_FLAG_COLOR); -#endif - if (!FcPatternAddBool (pat, FC_OUTLINE, has_outline)) goto bail1; #ifdef FT_FACE_FLAG_COLOR + has_color = !!(face->face_flags & FT_FACE_FLAG_COLOR); if (!FcPatternAddBool (pat, FC_COLOR, has_color)) goto bail1; #endif -- cgit v1.2.1