Commit eb0389d3 authored by Rémi Duraffort's avatar Rémi Duraffort

freetype: fix a typo

parent fb74afaa
......@@ -1659,7 +1659,7 @@ static FT_Face LoadEmbeddedFace( filter_sys_t *p_sys, const text_style_t *p_styl
int i_style_received = ((p_face->style_flags & FT_STYLE_FLAG_BOLD) ? STYLE_BOLD : 0) |
((p_face->style_flags & FT_STYLE_FLAG_ITALIC ) ? STYLE_ITALIC : 0);
if( !strcasecmp( p_face->family_name, p_style->psz_fontname ) &&
(p_style->i_style_flags & (STYLE_BOLD | STYLE_BOLD)) == i_style_received )
(p_style->i_style_flags & (STYLE_BOLD | STYLE_ITALIC)) == i_style_received )
return p_face;
FT_Done_Face( p_face );
......
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