issue #2488: Fixing a warning in CCFontFreeType.cpp.

This commit is contained in:
James Chen 2013-08-15 21:39:03 +08:00
parent c29a8bb2a0
commit c97e2d3562
1 changed files with 1 additions and 1 deletions

View File

@ -315,7 +315,7 @@ int FontFreeType::getHorizontalKerningForChars(unsigned short firstChar, unsign
if (!_fontRef)
return 0;
bool hasKerning = FT_HAS_KERNING( _fontRef );
bool hasKerning = FT_HAS_KERNING( _fontRef ) != 0;
if (!hasKerning)
return 0;