commit 10f8e880ba0a38c621172a5e876fd313abf08fd2
parent e2c9c58104f295a6954474226ac37537c18e458b
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date: Mon, 15 May 2006 14:47:16 +0000
cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3519 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/browser.c b/src/browser.c
@@ -44,8 +44,8 @@ static size_t selected = 0;
static bool search_last_file = FALSE;
/* Have we gone past the last file while searching? */
-/* Our browser function. path is the path to start browsing from.
- * Assume path has already been tilde-expanded. */
+/* Our browser function. path is the tilde-expanded path to start
+ * browsing from. */
char *do_browser(char *path, DIR *dir)
{
int kbinput;
@@ -333,7 +333,7 @@ char *do_browser(char *path, DIR *dir)
goto change_browser_directory;
/* Redraw the screen. */
case NANO_REFRESH_KEY:
- browser_refresh();
+ total_redraw();
break;
/* Abort the browser. */
case NANO_EXIT_KEY: