summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 87e3830)
raw | patch | inline | side by side (parent: 87e3830)
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | |
Sat, 3 Sep 2011 22:26:04 +0000 (00:26 +0200) | ||
committer | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | |
Fri, 16 Sep 2011 19:52:03 +0000 (21:52 +0200) |
src/list_window.c | patch | blob | history |
diff --git a/src/list_window.c b/src/list_window.c
index 9d120c14e24eb97d2ce17994364cc830cfe78409..8e0b968149e88450d8b5e53370d6a682d7ee8029 100644 (file)
--- a/src/list_window.c
+++ b/src/list_window.c
{
if (lw->start + lw->rows < lw->length)
{
- if ( lw->start + lw->rows + n > lw->length - 1)
+ if (lw->start + lw->rows + n > lw->length - 1)
lw->start = lw->length - lw->rows;
else
lw->start += n;