Sim:Fix an unescaped while loop

This commit is contained in:
aris-kimi
2025-06-12 01:07:38 +01:00
committed by Ian McInerney
parent c3192a9501
commit cf5d4df78a
+3
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 )