From d981957c212c8ea589aed11e0d410a00f6d309cc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jonathan=20Neusch=C3=A4fer?= Date: Tue, 1 Nov 2011 22:40:13 +0100 Subject: [PATCH] list_window: scroll down exactly one page at PGDN --- src/list_window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/list_window.c b/src/list_window.c index ecd786b..66c6d21 100644 --- a/src/list_window.c +++ b/src/list_window.c @@ -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; -- 2.30.2