Fix condition

This commit is contained in:
Arun Prakash Jana 2021-05-29 03:40:00 +05:30
parent 4bc8e1a8be
commit 6bb6ddfe8a
No known key found for this signature in database
GPG Key ID: A75979F35C080412
1 changed files with 2 additions and 2 deletions

View File

@ -6011,8 +6011,8 @@ static void redraw(char *path)
g_state.dircolor = 0;
}
/* Go to first entry */
if (i < ndents) {
/* Go to last entry */
if (onscreen < ndents) {
move(xlines - 2, 0);
addch('v');
}