From 652a19b232e430c69659547d9796d37ed826b4de Mon Sep 17 00:00:00 2001 From: Karol Baraniecki Date: Sat, 8 Apr 2023 16:48:15 +0200 Subject: [PATCH] BrickGame: Use title case in menu items consistently by fixing the "Toggle pause" option --- Userland/Games/BrickGame/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Games/BrickGame/main.cpp b/Userland/Games/BrickGame/main.cpp index bd14504bc8..ca238b94ac 100644 --- a/Userland/Games/BrickGame/main.cpp +++ b/Userland/Games/BrickGame/main.cpp @@ -56,7 +56,7 @@ ErrorOr serenity_main(Main::Arguments arguments) TRY(game_menu->try_add_action(GUI::Action::create("&New Game", { Mod_None, Key_F2 }, TRY(Gfx::Bitmap::load_from_file("/res/icons/16x16/reload.png"sv)), [&](auto&) { game->reset(); }))); - TRY(game_menu->try_add_action(GUI::Action::create("Toggle &pause", { Mod_None, Key_P }, [&](auto&) { + TRY(game_menu->try_add_action(GUI::Action::create("Toggle &Pause", { Mod_None, Key_P }, [&](auto&) { game->toggle_pause(); }))); TRY(game_menu->try_add_separator());