From ef05eec5315024c0b393180d03daf7514aff5364 Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Sat, 24 Jul 2021 17:51:05 +1000 Subject: [PATCH] - Change a68d5aae7046dfc844be0a12c4ea3898a30ce229 to not do a leading zero, but add an extra space of `frameDelay` less than 10. * Thanks, Graf. It's better :) --- source/core/gamehud.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/core/gamehud.cpp b/source/core/gamehud.cpp index 12378f317..c009652e6 100644 --- a/source/core/gamehud.cpp +++ b/source/core/gamehud.cpp @@ -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) {