summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Alexander <wired@gentoo.org>2010-04-08 18:41:06 +0000
committerAlex Alexander <wired@gentoo.org>2010-04-08 18:41:06 +0000
commitda4d8b3ee52e72dc7dfd865c0b225b2e358ff198 (patch)
treee76f82f6292d12dfb2252c0af687e659c60f9cf1 /app-misc/mc/files/mc-4.7_mcedit_fix.patch
parentSet SUPPORT_PYTHON_ABIS. (diff)
downloadhistorical-da4d8b3ee52e72dc7dfd865c0b225b2e358ff198.tar.gz
historical-da4d8b3ee52e72dc7dfd865c0b225b2e358ff198.tar.bz2
historical-da4d8b3ee52e72dc7dfd865c0b225b2e358ff198.zip
[app-misc/mc] fixed bug 313859
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
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 ();
+ }