From ce035626634b2e2e14ba837a8475148e39138c87 Mon Sep 17 00:00:00 2001
From: Marco Hladik <marco@icculus.org>
Date: Tue, 23 Jan 2018 02:52:00 -0800
Subject: [PATCH] Add cmd menu_quit, since that was bothering me for a while.

---
 Source/Menu/Input.c    | 8 ++++++--
 Source/Menu/MenuMain.c | 2 +-
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/Source/Menu/Input.c b/Source/Menu/Input.c
index 1f637b57..c34ec816 100755
--- a/Source/Menu/Input.c
+++ b/Source/Menu/Input.c
@@ -179,8 +179,12 @@ float m_consolecommand( string sCMD ) {
 	tokenize( sCMD );
 	switch ( argv( 0 ) ) {
 		case "togglemenu":
-		m_display( );
-		return TRUE;
+			m_display( );
+			return TRUE;
+		break;
+		case "menu_quit":
+			iMenu = MENU_QUIT;
+			return TRUE;
 		break;
 		
 	}
diff --git a/Source/Menu/MenuMain.c b/Source/Menu/MenuMain.c
index 51d9fed5..73c1360e 100755
--- a/Source/Menu/MenuMain.c
+++ b/Source/Menu/MenuMain.c
@@ -73,7 +73,7 @@ void Menu_Quit( void ) {
 	}
 	
 	Object_Frame( '192 192', '256 96' );
-	Object_Label( '200 216', _("FREECS_QUITMSG"), '12 12' );
+	Object_Label( '212 216', _("FREECS_QUITMSG"), '12 12' );
 		
 	Object_Button( '208 248', BTN_QUIT, Quit_Exit, fButtonAlpha[0] );
 	Object_Button( '364 248', BTN_CANCEL, Quit_Cancel, fButtonAlpha[1] );