Commit 6a616fca authored by Ilkka Ollakka's avatar Ilkka Ollakka

freetype: check correct variable

parent 5c9b0299
......@@ -361,7 +361,7 @@ static int Create( vlc_object_t *p_this )
FcDefaultSubstitute( fontpattern );
fontmatch = FcFontMatch( NULL, fontpattern, &fontresult );
if( fontmatch == FcResultNoMatch )
if( fontresult == FcResultNoMatch )
{
free( psz_fontsize );
FcPatternDestroy( fontpattern );
......
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