diff --git a/src/browser.c b/src/browser.c index 5661d0bfab7500183a75fc4896dd77ff0b1a390f..2a3f159745f22ae4ce157f8e48123fa7199c31e7 100644 --- a/src/browser.c +++ b/src/browser.c @@ -78,7 +78,6 @@ char *do_browser(char *path, DIR *dir) path = mallocstrassn(path, get_full_path(path)); - /* Assume that path exists and ends with a slash. */ assert(path != NULL && path[strlen(path) - 1] == '/'); /* Get the file list. */ @@ -355,10 +354,10 @@ char *do_browser(char *path, DIR *dir) if (abort) break; - /* Display the file list if we don't have a key, or if we do - * have a key and the selected file has changed. Don't display - * it if we selected a directory in prev_dir, since the file - * list will have already been displayed then. */ + /* Display the file list if we don't have a key, or if the + * selected file has changed. Don't display it if we selected a + * directory in prev_dir, since the file list has already been + * displayed in that case. */ if ((kbinput == ERR && !found_prev_dir) || old_selected != selected) browser_refresh(); diff --git a/src/help.c b/src/help.c index d94f2ee1e7d4a8b3927e2af7555cb3d88ab6cf58..0b6a29638a9e7fdf91da39dadae5369a89a0e39c 100644 --- a/src/help.c +++ b/src/help.c @@ -148,8 +148,8 @@ void do_help(void (*refresh_func)(void)) if (abort) break; - /* Display the help text if we don't have a key, or if we do - * have a key and the help text has moved. */ + /* Display the help text if we don't have a key, or if the help + * text has moved. */ if (kbinput == ERR || line != old_line) { blank_edit();