[vlc-devel] commit: freetype: check correct variable (Ilkka Ollakka )

git version control git at videolan.org
Tue Jul 28 16:03:26 CEST 2009


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Tue Jul 28 17:03:01 2009 +0300| [6a616fca335a24409c39cabcfea8a45b7e1995f3] | committer: Ilkka Ollakka 

freetype: check correct variable

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6a616fca335a24409c39cabcfea8a45b7e1995f3
---

 modules/misc/freetype.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/misc/freetype.c b/modules/misc/freetype.c
index 4b5e90f..a0c3a93 100644
--- a/modules/misc/freetype.c
+++ b/modules/misc/freetype.c
@@ -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 );




More information about the vlc-devel mailing list