Sim:Fix an unescaped while loop

This commit is contained in:
aris-kimi 2025-06-12 03:07:38 +03:00 committed by Ian McInerney
parent c3192a9501
commit cf5d4df78a

View File

@ -1006,6 +1006,9 @@ void mpScaleXLog::recalculateTicks( wxDC& dc, mpWindow& w )
{
step *= 10.0;
visibleDecades = log( maxVvis / minVvis ) / log( step );
if( !std::isfinite( visibleDecades ) )
break;
}
for( d = minDecade; d<=maxDecade; d *= step )