[vlc-commits] commit: skins2: fix compiler warnings (missing ()) ( Rémi Duraffort )
git at videolan.org
git at videolan.org
Thu Sep 9 20:41:51 CEST 2010
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Thu Sep 9 20:34:30 2010 +0200| [c80cd4689256b3704e865ba16697ae88c94fe8a1] | committer: Rémi Duraffort
skins2: fix compiler warnings (missing ())
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c80cd4689256b3704e865ba16697ae88c94fe8a1
---
modules/gui/skins2/src/ft2_font.cpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/gui/skins2/src/ft2_font.cpp b/modules/gui/skins2/src/ft2_font.cpp
index 60d21cb..51a9ade 100644
--- a/modules/gui/skins2/src/ft2_font.cpp
+++ b/modules/gui/skins2/src/ft2_font.cpp
@@ -55,7 +55,7 @@ bool FT2Font::init()
{
unsigned err;
- if( err = FT_Init_FreeType( &m_lib ) )
+ if( ( err = FT_Init_FreeType( &m_lib ) ) )
{
msg_Err( getIntf(), "failed to initialize freetype (%s)",
ft2_strerror( err ) );
@@ -113,7 +113,7 @@ bool FT2Font::init()
}
// Select the charset
- if( err = FT_Select_Charmap( m_face, ft_encoding_unicode ) )
+ if( ( err = FT_Select_Charmap( m_face, ft_encoding_unicode ) ) )
{
msg_Err( getIntf(), "font %s has no UNICODE table (%s)",
m_name.c_str(), ft2_strerror(err) );
@@ -121,7 +121,7 @@ bool FT2Font::init()
}
// Set the pixel size
- if( err = FT_Set_Pixel_Sizes( m_face, 0, m_size ) )
+ if( ( err = FT_Set_Pixel_Sizes( m_face, 0, m_size ) ) )
{
msg_Warn( getIntf(), "cannot set a pixel size of %d for %s (%s)",
m_size, m_name.c_str(), ft2_strerror(err) );
More information about the vlc-commits
mailing list