Move cursor to the correct line in browse_draw()

This commit is contained in:
Yorhel 2009-04-26 11:22:24 +02:00
parent 43fec63281
commit ceecccc3ae

View file

@ -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) {