summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/mc/files/mc-4.7_mcedit_fix.patch')
-rw-r--r--app-misc/mc/files/mc-4.7_mcedit_fix.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/app-misc/mc/files/mc-4.7_mcedit_fix.patch b/app-misc/mc/files/mc-4.7_mcedit_fix.patch
new file mode 100644
index 000000000000..c574bea0dbfe
--- /dev/null
+++ b/app-misc/mc/files/mc-4.7_mcedit_fix.patch
@@ -0,0 +1,15 @@
+Index: src/execute.c
+===================================================================
+--- a/src/execute.c
++++ b/src/execute.c
+@@ -305,6 +305,8 @@
+ #endif /* HAVE_SUBSHELL_SUPPORT */
+
+- update_panels (UP_OPTIMIZE, UP_KEEPSEL);
+- update_xterm_title_path ();
++ if ((view_one_file == NULL) && (edit_one_file == NULL)) {
++ update_panels (UP_OPTIMIZE, UP_KEEPSEL);
++ update_xterm_title_path ();
++ }
+ repaint_screen ();
+ }