Commit b10283c4 authored by Chris Allegretta's avatar Chris Allegretta
Browse files

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
parent f3fde7c2
Showing with 2 additions and 2 deletions
+2 -2
...@@ -1145,8 +1145,6 @@ char *do_browser(char *inpath) ...@@ -1145,8 +1145,6 @@ char *do_browser(char *inpath)
#endif #endif
#endif #endif
currshortcut = browser_list;
currslen = BROWSER_LIST_LEN;
/* If path isn't the same as inpath, we are being passed a new /* 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 dir as an arg. We free it here so it will be copied from
inpath below */ inpath below */
...@@ -1180,6 +1178,8 @@ char *do_browser(char *inpath) ...@@ -1180,6 +1178,8 @@ char *do_browser(char *inpath)
blank_statusbar_refresh(); blank_statusbar_refresh();
currshortcut = browser_list;
currslen = BROWSER_LIST_LEN;
editline = 0; editline = 0;
col = 0; col = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment