- Change a68d5aae70 to not do a leading zero, but add an extra space of frameDelay less than 10.

* Thanks, Graf. It's better :)
This commit is contained in:
Mitchell Richters 2021-07-24 17:51:05 +10:00
parent 8e8b3a32fe
commit ef05eec531

View file

@ -107,7 +107,9 @@ static FString statFPS()
frameCount++;
if (frameDelay >= 0)
{
output.AppendFormat("%5.1f fps (%04.1f ms)\n", lastFPS, frameDelay);
output.AppendFormat("%5.1f fps", lastFPS);
if (frameDelay < 10) output.AppendFormat(" ");
output.AppendFormat(" (%.1f ms)\n", frameDelay);
if (cumulativeFrameDelay >= 1000.0)
{