From: Marcin Krol Date: Mon, 7 Jul 2014 23:44:15 +0000 (+0000) Subject: - confirm exit by default X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=428f14f6d5e8d391d038691a8cbe19464cc0115f;p=packages%2Fmc.git - confirm exit by default --- 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;