Changed to an int comparison

This commit is contained in:
Robert Osfield 2016-07-02 11:09:12 +01:00
parent 7a63538fb9
commit 40d5d1712d

View File

@ -221,7 +221,7 @@ TXFFont::loadFont(std::istream& stream)
return false; 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 // insert a trivial blank character