Changed to an int comparison
This commit is contained in:
parent
7a63538fb9
commit
40d5d1712d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user