w3m

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

commit 693d9c4744471b4111d1ad9d21213d3aa1fe7946
parent ac0fa6f05268e4b5cf6baca6ad5900ea09b6a327
Author: ukai <ukai>
Date:   Tue, 11 Feb 2003 10:35:48 +0000

[w3m-dev-en 00868] fix mark_all_pages
* anchor.c (reAnchorAny): next_line process for MarkAllPages
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>

Diffstat:
MChangeLog | 7++++++-
Manchor.c | 6+++++-
2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,6 +1,11 @@ 2003-02-11 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> - * [w3m-dev-en 00867] Re: w3m 0.4 release candidate 1 + * [w3m-dev-en 00868] fix mark_all_pages + * anchor.c (reAnchorAny): next_line process for MarkAllPages + +2003-02-11 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev-en 00867] fix installation problem * XMakefile (install-core): test AUXBIN_TARGETS 2003-02-11 Fumitoshi UKAI <ukai@debian.or.jp> diff --git a/anchor.c b/anchor.c @@ -351,7 +351,7 @@ reAnchorAny(Buffer *buf, char *re, (MarkAllPages || l->linenumber < buf->topLine->linenumber + LASTLINE); l = l->next) { if (p && l->bpos) - continue; + goto next_line; p = l->lineBuf; for (;;) { if (regexMatch(p, &l->lineBuf[l->size] - p, p == l->lineBuf) == 1) { @@ -361,6 +361,10 @@ reAnchorAny(Buffer *buf, char *re, else break; } + next_line: + if (MarkAllPages && l->next == NULL && buf->pagerSource && + !(buf->bufferprop & BP_CLOSE)) + getNextPage(buf, PagerMax); } return NULL; }