From ceecccc3aea5027871c93999a309da186c3f1b7e Mon Sep 17 00:00:00 2001 From: Yorhel Date: Sun, 26 Apr 2009 11:22:24 +0200 Subject: [PATCH] Move cursor to the correct line in browse_draw() --- src/browser.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/browser.c b/src/browser.c index 0aaa51c..5869fe9 100644 --- a/src/browser.c +++ b/src/browser.c @@ -287,6 +287,7 @@ void browse_draw() { break; i++; } + selected -= i; /* print the list to the screen */ for(i=0; n!=NULL && inext) {