mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix search in RiaFontCache::fontSizeEnumFromPointSize.
This commit is contained in:
committed by
Magne Sjaastad
parent
f735d19c2c
commit
874cdb15c4
@@ -130,7 +130,7 @@ RiaFontCache::FontSize RiaFontCache::fontSizeEnumFromPointSize( int pointSize )
|
||||
if ( diff < closestDiff )
|
||||
{
|
||||
closestEnumValue = enumValue;
|
||||
closestDiff;
|
||||
closestDiff = diff;
|
||||
}
|
||||
}
|
||||
return closestEnumValue;
|
||||
|
||||
Reference in New Issue
Block a user