summaryrefslogtreecommitdiffstats
path: root/debian/patches/mcedit_auto_indent.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 20:22:04 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 20:22:04 +0000
commit91bb3b7bce2297f022a7d48604b1d8e3b9c54a8a (patch)
tree4633b3b9fc6b0a65333f51545214f29a3d0fd1b0 /debian/patches/mcedit_auto_indent.patch
parentAdding upstream version 3:4.8.30. (diff)
downloadmc-91bb3b7bce2297f022a7d48604b1d8e3b9c54a8a.tar.xz
mc-91bb3b7bce2297f022a7d48604b1d8e3b9c54a8a.zip
Adding debian version 3:4.8.30-1.debian/3%4.8.30-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/mcedit_auto_indent.patch')
-rw-r--r--debian/patches/mcedit_auto_indent.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/patches/mcedit_auto_indent.patch b/debian/patches/mcedit_auto_indent.patch
new file mode 100644
index 0000000..7720f16
--- /dev/null
+++ b/debian/patches/mcedit_auto_indent.patch
@@ -0,0 +1,20 @@
+Last-Update: 2017-06-29
+Forwarded: no
+Bug-Debian: http://bugs.debian.org/570502
+Author: Dmitry Smirnov <onlyjob@member.fsf.org>
+Updated-by: Denis Briand <debian@denis-briand.fr>
+Description: disable "Return does autoindent" by default (mcedit)
+
+--- a/src/editor/edit.c
++++ b/src/editor/edit.c
+@@ -80,9 +80,9 @@
+ .word_wrap_line_length = DEFAULT_WRAP_LINE_LENGTH,
+ .typewriter_wrap = FALSE,
+ .auto_para_formatting = FALSE,
+ .fill_tabs_with_spaces = FALSE,
+- .return_does_auto_indent = TRUE,
++ .return_does_auto_indent = FALSE,
+ .backspace_through_tabs = FALSE,
+ .fake_half_tabs = TRUE,
+ .persistent_selections = TRUE,
+ .drop_selection_on_copy = TRUE,