mirror of https://github.com/axmolengine/axmol.git
issue #2488: Fixing a warning in CCFontFreeType.cpp.
This commit is contained in:
parent
c29a8bb2a0
commit
c97e2d3562
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue