summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a35dc03)
raw | patch | inline | side by side (parent: a35dc03)
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | |
Tue, 1 Nov 2011 21:40:13 +0000 (22:40 +0100) | ||
committer | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | |
Wed, 2 Nov 2011 14:37:00 +0000 (15:37 +0100) |
src/list_window.c | patch | blob | history |
diff --git a/src/list_window.c b/src/list_window.c
index ecd786b91d1f3b38b0f56e50e788c98a2feefb83..66c6d21361817ce61202d125be1564c085be707f 100644 (file)
--- a/src/list_window.c
+++ b/src/list_window.c
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;