From: Chris Allegretta Date: Thu, 13 Mar 2008 17:48:16 +0000 (+0000) Subject: Fix multibuffer mode not showing "Close" string anymore X-Git-Tag: v2.1.0~13 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=d3a1ff6a33411d597fb7585c28afb1bdbb4e53ce;p=nano.git Fix multibuffer mode not showing "Close" string anymore on buffer open/closer. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4225 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/src/files.c b/src/files.c index af78b33f..88ba0fc4 100644 --- a/src/files.c +++ b/src/files.c @@ -952,6 +952,7 @@ void do_insertfile( break; } } + shortcut_init(FALSE); free(ans); } diff --git a/src/nano.c b/src/nano.c index 010c721b..566c5342 100644 --- a/src/nano.c +++ b/src/nano.c @@ -1010,6 +1010,7 @@ void do_exit(void) } else if (i != 1) statusbar(_("Cancelled")); + shortcut_init(FALSE); display_main_list(); }