diff --git a/files.c b/files.c index 3b4c5adb12cfda419a795941f39af321c2363d9c..2c688d05aadb269d4ae2ba4f60ea8de9534d5a24 100644 --- 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;