From 428f14f6d5e8d391d038691a8cbe19464cc0115f Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Mon, 7 Jul 2014 23:44:15 +0000 Subject: [PATCH] - confirm exit by default --- mc-confirm-exit.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 mc-confirm-exit.patch diff --git a/mc-confirm-exit.patch b/mc-confirm-exit.patch new file mode 100644 index 0000000..bcba97b --- /dev/null +++ b/mc-confirm-exit.patch @@ -0,0 +1,12 @@ +diff -ur mc-4.8.12.orig/src/setup.c mc-4.8.12/src/setup.c +--- mc-4.8.12.orig/src/setup.c 2014-07-07 19:52:15.000000000 +0000 ++++ mc-4.8.12/src/setup.c 2014-07-07 23:15:03.862724555 +0000 +@@ -100,7 +100,7 @@ + /* Asks for confirmation before executing a program by pressing enter */ + int confirm_execute = 0; + /* Asks for confirmation before leaving the program */ +-int confirm_exit = 0; ++int confirm_exit = 1; + + /* If true, at startup the user-menu is invoked */ + int auto_menu = 0; -- 2.46.0