mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 10:08:10 +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
|
@ -136,7 +136,7 @@ void Game::reset_ball(int serve_to_player)
|
|||
|
||||
void Game::game_over(int winner)
|
||||
{
|
||||
GUI::MessageBox::show(window(), String::format("Player %d wins!", winner), "Pong", GUI::MessageBox::Type::Warning, GUI::MessageBox::InputType::OK);
|
||||
GUI::MessageBox::show(window(), String::formatted("Player {} wins!", winner), "Pong", GUI::MessageBox::Type::Warning, GUI::MessageBox::InputType::OK);
|
||||
}
|
||||
|
||||
void Game::round_over(int winner)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue