mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 10:57:35 +00:00
Everywhere: Convert a handful of String::format() => formatted()
This commit is contained in:
parent
c90b7881a7
commit
c71807a3fc
23 changed files with 24 additions and 24 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue