aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-11-27 16:32:51 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-11-27 16:32:51 +0000
commit3335de859ab474b9c019179df9fee9012e66bd4c (patch)
tree9d9c0ce6ead06ee0165401b16a74190015114165
parentfix indent (diff)
downloadw3m-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>
-rw-r--r--ChangeLog7
-rw-r--r--display.c4
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index ecd3488..37672e6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2002-11-28 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
+ * [w3m-dev 03494] Number of line is few when pager mode.
+ * display.c (redrawLine): buf->rootY
+
+2002-11-28 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
+
* [w3m-dev 03493] scroll menu
* menu.c (mLineU): added
(mLineD): added
@@ -5215,4 +5220,4 @@ a * [w3m-dev 03276] compile error on EWS4800
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.566 2002/11/27 16:28:36 ukai Exp $
+$Id: ChangeLog,v 1.567 2002/11/27 16:32:51 ukai Exp $
diff --git a/display.c b/display.c
index e6b8037..59846ac 100644
--- a/display.c
+++ b/display.c
@@ -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;
}