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

View file

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