diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-02-11 10:35:48 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-02-11 10:35:48 +0000 |
commit | 5b35739e5f5ae699b003abfd2c07ee553a9a97bf (patch) | |
tree | 7035e780a605ef8ba1f64988bfcddc2d1c678a87 | |
parent | [w3m-dev-en 00867] Re: w3m 0.4 release candidate 1 (diff) | |
download | w3m-5b35739e5f5ae699b003abfd2c07ee553a9a97bf.tar.gz w3m-5b35739e5f5ae699b003abfd2c07ee553a9a97bf.zip |
[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 (limited to '')
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | anchor.c | 8 |
2 files changed, 13 insertions, 4 deletions
@@ -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> @@ -7142,4 +7147,4 @@ a * [w3m-dev 03276] compile error on EWS4800 * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.747 2003/02/11 10:33:04 ukai Exp $ +$Id: ChangeLog,v 1.748 2003/02/11 10:35:48 ukai Exp $ @@ -1,4 +1,4 @@ -/* $Id: anchor.c,v 1.24 2003/02/05 16:45:07 ukai Exp $ */ +/* $Id: anchor.c,v 1.25 2003/02/11 10:35:48 ukai Exp $ */ #include "fm.h" #include "myctype.h" #include "regex.h" @@ -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; } |