diff --git a/src/osgPlugins/txf/TXFFont.cpp b/src/osgPlugins/txf/TXFFont.cpp index 6cd951d02..412a5a5a7 100644 --- a/src/osgPlugins/txf/TXFFont.cpp +++ b/src/osgPlugins/txf/TXFFont.cpp @@ -221,7 +221,7 @@ TXFFont::loadFont(std::istream& stream) return false; } - float coord_scale = (computedmaxheight>0.0f) ? (1.0f/float(computedmaxheight)) : 1.0f; + float coord_scale = (computedmaxheight>0) ? (1.0f/float(computedmaxheight)) : 1.0f; { // insert a trivial blank character