summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/browser.c1
1 files changed, 1 insertions, 0 deletions
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 && i<winrows-3; n=n->next) {