summaryrefslogtreecommitdiffstats
path: root/debian/patches/mcedit_group_undo.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 17:44:13 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 17:44:13 +0000
commitb53c174e5d2eba47d82b05cb5787b183a0aadf84 (patch)
treed11ab04473fd36be6989c8a494a245fce8a80cbb /debian/patches/mcedit_group_undo.patch
parentAdding upstream version 3:4.8.29. (diff)
downloadmc-b53c174e5d2eba47d82b05cb5787b183a0aadf84.tar.xz
mc-b53c174e5d2eba47d82b05cb5787b183a0aadf84.zip
Adding debian version 3:4.8.29-2.debian/3%4.8.29-2debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/mcedit_group_undo.patch')
-rw-r--r--debian/patches/mcedit_group_undo.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/patches/mcedit_group_undo.patch b/debian/patches/mcedit_group_undo.patch
new file mode 100644
index 0000000..a9f429d
--- /dev/null
+++ b/debian/patches/mcedit_group_undo.patch
@@ -0,0 +1,19 @@
+Last-Update: 2017-06-29
+Forwarded: not-needed
+Author: Dmitry Smirnov <onlyjob@member.fsf.org>
+Updated-by: Denis Briand <debian@denis-briand.fr>
+Description: enable "Group undo" by default (mcedit)
+
+--- a/src/editor/edit.c
++++ b/src/editor/edit.c
+@@ -96,9 +96,9 @@
+ gboolean option_state_full_filename = TRUE;
+
+ gboolean enable_show_tabs_tws = TRUE;
+ gboolean option_check_nl_at_eof = FALSE;
+-gboolean option_group_undo = FALSE;
++gboolean option_group_undo = TRUE;
+ gboolean show_right_margin = FALSE;
+
+ char *option_backup_ext = NULL;
+ char *option_filesize_threshold = NULL;