diff options
author | Andreas Kling <kling@serenityos.org> | 2021-01-16 12:00:33 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-01-16 14:52:04 +0100 |
commit | c71807a3fc592ab1d2d59c157e122a1b4030cd46 (patch) | |
tree | 3cacfa51d521be5f1fbe17f880391dd7ec42b0fe /Userland/Demos | |
parent | c90b7881a7313a9b36c7069769b5489c3be4f014 (diff) | |
download | serenity-c71807a3fc592ab1d2d59c157e122a1b4030cd46.zip |
Everywhere: Convert a handful of String::format() => formatted()
Diffstat (limited to 'Userland/Demos')
-rw-r--r-- | Userland/Demos/Fire/Fire.cpp | 2 |
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; } |