]> git.wh0rd.org Git - nano.git/commitdiff
Fix multibuffer mode not showing "Close" string anymore
authorChris Allegretta <chrisa@asty.org>
Thu, 13 Mar 2008 17:48:16 +0000 (17:48 +0000)
committerChris Allegretta <chrisa@asty.org>
Thu, 13 Mar 2008 17:48:16 +0000 (17:48 +0000)
on buffer open/closer.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4225 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

src/files.c
src/nano.c

index af78b33f75761780c33def00393b7efd3d1e474c..88ba0fc47c68ae56ebe51368fab94f54400a5b31 100644 (file)
@@ -952,6 +952,7 @@ void do_insertfile(
            break;
        }
     }
+    shortcut_init(FALSE);
 
     free(ans);
 }
index 010c721b2a9cfbef6b20a6ce730aa3f67ec6cbf1..566c53421069b23ca83c41d3e9f936ca34fdc4a6 100644 (file)
@@ -1010,6 +1010,7 @@ void do_exit(void)
     } else if (i != 1)
        statusbar(_("Cancelled"));
 
+    shortcut_init(FALSE);
     display_main_list();
 }