[vlc-commits] freetype: fix a typo

Rémi Duraffort git at videolan.org
Fri Nov 11 16:03:43 CET 2011


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Fri Nov 11 15:56:07 2011 +0100| [eb0389d34d8d56e40ba351e34000aaf71cc8ec1e] | committer: Rémi Duraffort

freetype: fix a typo

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

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

diff --git a/modules/text_renderer/freetype.c b/modules/text_renderer/freetype.c
index 7963f5c..3d7291e 100644
--- a/modules/text_renderer/freetype.c
+++ b/modules/text_renderer/freetype.c
@@ -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 );



More information about the vlc-commits mailing list