[vlc-commits] Freetype: fix small error in previous commit

Jean-Baptiste Kempf git at videolan.org
Sun Dec 15 15:20:14 CET 2013


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Dec 15 15:18:08 2013 +0100| [0b63dc6427ca0caa5c9e8052e5dd801b381a74be] | committer: Jean-Baptiste Kempf

Freetype: fix small error in previous commit

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

 modules/text_renderer/freetype.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/text_renderer/freetype.c b/modules/text_renderer/freetype.c
index a72d433..e77a47e 100644
--- a/modules/text_renderer/freetype.c
+++ b/modules/text_renderer/freetype.c
@@ -2380,7 +2380,7 @@ static int Create( vlc_object_t *p_this )
 #endif
     p_sys->style.psz_monofontname = psz_monofontfamily;
 
-    if( Init_FT( p_this, psz_fontname, fontindex, f_outline_thickness ) != VLC_SUCCESS )
+    if( Init_FT( p_this, psz_fontfile, fontindex, f_outline_thickness ) != VLC_SUCCESS )
         goto error;
 
     p_sys->pp_font_attachments = NULL;



More information about the vlc-commits mailing list