From 2f0a31508ea166ec72f245967fd2706464d85d0e Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 11 Feb 2020 21:33:20 +0100 Subject: [PATCH] - added Y/N to end game message. --- source/common/menu/messagebox.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/source/common/menu/messagebox.cpp b/source/common/menu/messagebox.cpp index 8a60b7d67..daa1a177f 100644 --- a/source/common/menu/messagebox.cpp +++ b/source/common/menu/messagebox.cpp @@ -400,7 +400,8 @@ CCMD (menu_endgame) } M_StartControlPanel (true); - FString tempstring = GStrings("ENDGAME"); + FString tempstring; + tempstring << GStrings("ENDGAME") << "\n\n" << GStrings("PRESSYN"); DMenu* newmenu = CreateMessageBoxMenu(DMenu::CurrentMenu, tempstring, 0, 501, false, NAME_None, [](bool res) { if (res) @@ -424,8 +425,8 @@ CCMD (menu_quit) M_StartControlPanel (true); - FString EndString = GStrings("CONFIRM_QUITMSG"); - EndString << "\n[Y/N]"; + FString EndString; + EndString << GStrings("CONFIRM_QUITMSG") << "\n\n" << GStrings("PRESSYN"); DMenu *newmenu = CreateMessageBoxMenu(DMenu::CurrentMenu, EndString, 0, 500, false, NAME_None, [](bool res) {