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 /file.c | |
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>
Diffstat (limited to '')
-rw-r--r-- | file.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { |