summaryrefslogtreecommitdiff
path: root/Userland/Demos
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-01-16 12:00:33 +0100
committerAndreas Kling <kling@serenityos.org>2021-01-16 14:52:04 +0100
commitc71807a3fc592ab1d2d59c157e122a1b4030cd46 (patch)
tree3cacfa51d521be5f1fbe17f880391dd7ec42b0fe /Userland/Demos
parentc90b7881a7313a9b36c7069769b5489c3be4f014 (diff)
downloadserenity-c71807a3fc592ab1d2d59c157e122a1b4030cd46.zip
Everywhere: Convert a handful of String::format() => formatted()
Diffstat (limited to 'Userland/Demos')
-rw-r--r--Userland/Demos/Fire/Fire.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Demos/Fire/Fire.cpp b/Userland/Demos/Fire/Fire.cpp
index f2861d0a11..3f1d2c1b63 100644
--- a/Userland/Demos/Fire/Fire.cpp
+++ b/Userland/Demos/Fire/Fire.cpp
@@ -172,7 +172,7 @@ void Fire::timer_event(Core::TimerEvent&)
if ((cycles % 50) == 0) {
dbgln("{} total cycles. finished 50 in {} ms, avg {} ms", cycles, timeAvg, timeAvg / 50);
- stats->set_text(String::format("%d ms", timeAvg / 50));
+ stats->set_text(String::formatted("{} ms", timeAvg / 50));
timeAvg = 0;
}