Skip to content

Commit

Permalink
- Change a68d5aa to not do a leading zero, but add an extra space of …
Browse files Browse the repository at this point in the history
…`frameDelay` less than 10.

* Thanks, Graf. It's better :)
  • Loading branch information
mjr4077au committed Jul 24, 2021
1 parent 8e8b3a3 commit ef05eec
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion source/core/gamehud.cpp
Expand Up @@ -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)
{
Expand Down

0 comments on commit ef05eec

Please sign in to comment.