From 64031f95c2521a0c764a147c979388486e650e76 Mon Sep 17 00:00:00 2001 From: Dmitry Karasik Date: Sat, 23 Nov 2024 19:35:50 +0100 Subject: [PATCH] typo fix --- unix/freetype.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unix/freetype.c b/unix/freetype.c index 27caa076..8ce953cb 100644 --- a/unix/freetype.c +++ b/unix/freetype.c @@ -393,8 +393,8 @@ prima_ft_is_font_colored( FT_Face face) if ( a < 2 || ( a == 2 && b < 10 )) /* CPAL/COLR only supported in 2.10 */ return false; return - FT_Load_Sfnt_Table(face, TTAG_COLR, 0, NULL, &l1) && - FT_Load_Sfnt_Table(face, TTAG_CPAL, 0, NULL, &l2) + (FT_Load_Sfnt_Table(face, TTAG_COLR, 0, NULL, &l1) == 0) && + (FT_Load_Sfnt_Table(face, TTAG_CPAL, 0, NULL, &l2) == 0) ; #else return false;