From: Jonathan Neuschäfer Date: Tue, 1 Nov 2011 21:40:13 +0000 (+0100) Subject: list_window: scroll down exactly one page at PGDN X-Git-Tag: release-0.20~60^2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d981957c212c8ea589aed11e0d410a00f6d309cc;p=ncmpc.git list_window: scroll down exactly one page at PGDN --- 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;