Fix search in RiaFontCache::fontSizeEnumFromPointSize.

This commit is contained in:
Kristian Bendiksen
2020-04-14 06:57:28 +02:00
committed by Magne Sjaastad
parent f735d19c2c
commit 874cdb15c4

View File

@@ -130,7 +130,7 @@ RiaFontCache::FontSize RiaFontCache::fontSizeEnumFromPointSize( int pointSize )
if ( diff < closestDiff )
{
closestEnumValue = enumValue;
closestDiff;
closestDiff = diff;
}
}
return closestEnumValue;