w3m

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

commit d0b96765d9df3ac74d97594d545647d236c2f38b
parent 966d1854d9edca2b5716a649e1f7028f43fdb2e8
Author: ukai <ukai>
Date:   Fri, 16 Nov 2001 03:30:15 +0000

[w3m-dev 02413] Re: mark history bug
From: Tsutomu Okada <okada@furuno.co.jp>
When input invalid regex for mark regexp, "Invalid regular expression" is added to the history.

Diffstat:
Mmain.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/main.c b/main.c @@ -2241,11 +2241,11 @@ reMark(void) displayBuffer(Currentbuf, B_NORMAL); return; } - MarkString = str; - if ((MarkString = regexCompile(MarkString, 1)) != NULL) { - disp_message(MarkString, TRUE); + if ((p = regexCompile(str, 1)) != NULL) { + disp_message(p, TRUE); return; } + MarkString = str; for (l = Currentbuf->firstLine; l != NULL; l = l->next) { p = l->lineBuf; for (;;) {