nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit b10283c4e857cc2be72162cfcc20dd53050e5ad4
parent f3fde7c2fcbf395df9f7076b654752d855fc6629
Author: Chris Allegretta <chrisa@asty.org>
Date:   Mon,  7 May 2001 12:08:37 +0000

Move down current shortcut assignment into loop in browser code to keep it updated


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

Diffstat:
Mfiles.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/files.c b/files.c @@ -1145,8 +1145,6 @@ char *do_browser(char *inpath) #endif #endif - currshortcut = browser_list; - currslen = BROWSER_LIST_LEN; /* If path isn't the same as inpath, we are being passed a new dir as an arg. We free it here so it will be copied from inpath below */ @@ -1180,6 +1178,8 @@ char *do_browser(char *inpath) blank_statusbar_refresh(); + currshortcut = browser_list; + currslen = BROWSER_LIST_LEN; editline = 0; col = 0;