Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dk committed Nov 23, 2024
1 parent 1879938 commit 64031f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions unix/freetype.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 64031f9

Please sign in to comment.