vlc | branch: master | Jean-Baptiste Kempf <[email protected]> | 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;

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to