diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-11-27 16:32:51 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-11-27 16:32:51 +0000 |
commit | 3335de859ab474b9c019179df9fee9012e66bd4c (patch) | |
tree | 9d9c0ce6ead06ee0165401b16a74190015114165 /display.c | |
parent | fix indent (diff) | |
download | w3m-3335de859ab474b9c019179df9fee9012e66bd4c.tar.gz w3m-3335de859ab474b9c019179df9fee9012e66bd4c.zip |
[w3m-dev 03494] Number of line is few when pager mode.
* display.c (redrawLine): buf->rootY
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to 'display.c')
-rw-r--r-- | display.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: display.c,v 1.40 2002/11/26 16:57:39 ukai Exp $ */ +/* $Id: display.c,v 1.41 2002/11/27 16:32:52 ukai Exp $ */ #include <signal.h> #include "fm.h" @@ -542,7 +542,7 @@ redrawLine(Buffer *buf, Line *l, int i) if (l == NULL) { if (buf->pagerSource) { - l = getNextPage(buf, buf->LINES - i); + l = getNextPage(buf, buf->LINES + buf->rootY - i); if (l == NULL) return NULL; } |