aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--file.c4
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 9b44e2f..5d5abbe 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2003-01-31 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
+ * [w3m-dev 03715] initial currentLine when pager mode.
+ * file.c (getNextPage): fix cur
+
+2003-01-31 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
+
* [w3m-dev 03714] -cols 1 -dump -o fold_line=1
* file.c (addnewline): check i == 0, i == l->len
* fm.h (_INIT_BUFFER_WIDTH): added
@@ -6965,4 +6970,4 @@ a * [w3m-dev 03276] compile error on EWS4800
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.728 2003/01/30 16:29:11 ukai Exp $
+$Id: ChangeLog,v 1.729 2003/01/30 16:31:56 ukai Exp $
diff --git a/file.c b/file.c
index 317aa45..7a15bb8 100644
--- a/file.c
+++ b/file.c
@@ -1,4 +1,4 @@
-/* $Id: file.c,v 1.214 2003/01/30 16:29:13 ukai Exp $ */
+/* $Id: file.c,v 1.215 2003/01/30 16:32:00 ukai Exp $ */
#include "fm.h"
#include <sys/types.h>
#include "myctype.h"
@@ -7254,7 +7254,7 @@ getNextPage(Buffer *buf, int plen)
lineBuf2->length, FOLD_BUFFER_WIDTH, nlines);
if (!top) {
top = buf->firstLine;
- cur = buf->currentLine;
+ cur = top;
}
if (buf->lastLine->real_linenumber - buf->firstLine->real_linenumber
>= PagerMax) {