diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-01-30 16:31:56 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-01-30 16:31:56 +0000 |
commit | 7226ac9de49ccab715349c16d6dda87f5aefb665 (patch) | |
tree | 14f6ad913c0305ca3a9ab9aadc208e39d2a16ed9 | |
parent | [w3m-dev 03714] -cols 1 -dump -o fold_line=1 (diff) | |
download | w3m-7226ac9de49ccab715349c16d6dda87f5aefb665.tar.gz w3m-7226ac9de49ccab715349c16d6dda87f5aefb665.zip |
[w3m-dev 03715] initial currentLine when pager mode.
* file.c (getNextPage): fix cur
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | file.c | 4 |
2 files changed, 8 insertions, 3 deletions
@@ -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 $ @@ -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) { |