Skip to content
Snippets Groups Projects
Commit ceecccc3 authored by Yorhel's avatar Yorhel
Browse files

Move cursor to the correct line in browse_draw()

parent 43fec632
No related branches found
No related tags found
No related merge requests found
...@@ -287,6 +287,7 @@ void browse_draw() { ...@@ -287,6 +287,7 @@ void browse_draw() {
break; break;
i++; i++;
} }
selected -= i;
/* print the list to the screen */ /* print the list to the screen */
for(i=0; n!=NULL && i<winrows-3; n=n->next) { for(i=0; n!=NULL && i<winrows-3; n=n->next) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment