diff --git a/src/osgPlugins/freetype/FreeTypeFont.cpp b/src/osgPlugins/freetype/FreeTypeFont.cpp index 47f526311..ab7fda509 100644 --- a/src/osgPlugins/freetype/FreeTypeFont.cpp +++ b/src/osgPlugins/freetype/FreeTypeFont.cpp @@ -122,5 +122,5 @@ osg::Vec2 FreeTypeFont::getKerning(unsigned int leftcharcode,unsigned int rightc bool FreeTypeFont::hasVertical() const { - return FT_HAS_VERTICAL(_face); + return FT_HAS_VERTICAL(_face)!=0; }