w3m

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/w3m.git/
Log | Files | Refs | README

commit b00f4507e745617e96dc143f735a42caf0e6bd8b
parent c54a059bf10fddc3123c8ccb73d62388427c601c
Author: ukai <ukai>
Date:   Thu, 30 Jan 2003 16:31:56 +0000

[w3m-dev 03715] initial currentLine when pager mode.
* file.c (getNextPage): fix cur
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>

Diffstat:
MChangeLog | 5+++++
Mfile.c | 2+-
2 files changed, 6 insertions(+), 1 deletion(-)

diff --git 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 diff --git a/file.c b/file.c @@ -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) {