[vlc-commits] freetype: build fix

Pierre Ynard git at videolan.org
Sat Jun 11 09:06:45 CEST 2011


vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Sat Jun 11 09:06:18 2011 +0200| [239d20d6e1a8b94815b8d97d16bc71ad3ec8cf5c] | committer: Pierre Ynard

freetype: build fix

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

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

diff --git a/modules/misc/text_renderer/freetype.c b/modules/misc/text_renderer/freetype.c
index 378f71f..5c068aa 100644
--- a/modules/misc/text_renderer/freetype.c
+++ b/modules/misc/text_renderer/freetype.c
@@ -2235,8 +2235,8 @@ static int ProcessLines( filter_t *p_filter,
 #elif defined( WIN32 )
                 psz_fontfile = Win32_Select( p_filter,
                                             p_style->psz_fontname,
-                                            p_style->b_bold,
-                                            p_style->b_italic,
+                                            (p_style->i_style_flags & STYLE_BOLD) != 0,
+                                            (p_style->i_style_flags & STYLE_ITALIC) != 0,
                                             -1,
                                             &i_idx );
 #else



More information about the vlc-commits mailing list