Code

list_window: scroll down exactly one page at PGDN
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>
Tue, 1 Nov 2011 21:40:13 +0000 (22:40 +0100)
committerJonathan Neuschäfer <j.neuschaefer@gmx.net>
Wed, 2 Nov 2011 14:37:00 +0000 (15:37 +0100)
src/list_window.c

index ecd786b91d1f3b38b0f56e50e788c98a2feefb83..66c6d21361817ce61202d125be1564c085be707f 100644 (file)
@@ -642,7 +642,7 @@ list_window_scroll_cmd(struct list_window *lw, command_t cmd)
                break;
 
        case CMD_LIST_NEXT_PAGE:
-               lw->start += lw->rows - 1;
+               lw->start += lw->rows;
                if (lw->start + lw->rows > lw->length) {
                        if (lw->length > lw->rows)
                                lw->start = lw->length - lw->rows;