cosmetic fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3702 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2006-06-30 07:27:15 +00:00
parent 0fd5d60477
commit 8cd0d2c751
2 changed files with 3 additions and 3 deletions

View File

@ -11,8 +11,8 @@ CVS code -
enable_mouse_support() and get_mouseinput(). (DLR) enable_mouse_support() and get_mouseinput(). (DLR)
- browser.c: - browser.c:
do_browser() do_browser()
- Refactor and simplify the mouse support, modeling it after - Refactor the mouse support, modeling it after do_mouse() for
do_mouse() for consistency. (DLR) consistency. (DLR)
- Remove unneeded call to blank_edit(). (DLR) - Remove unneeded call to blank_edit(). (DLR)
- After entering "..", select the directory we were in before - After entering "..", select the directory we were in before
instead of the first filename in the list, as Pico does. (DLR) instead of the first filename in the list, as Pico does. (DLR)

View File

@ -82,7 +82,7 @@ char *do_browser(char *path, DIR *dir)
/* Assume that path exists and ends with a slash. */ /* Assume that path exists and ends with a slash. */
assert(path != NULL && path[strlen(path) - 1] == '/'); assert(path != NULL && path[strlen(path) - 1] == '/');
/* Get the list of files. */ /* Get the file list. */
browser_init(path, dir); browser_init(path, dir);
assert(filelist != NULL); assert(filelist != NULL);