w3m

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

commit 670406bf9ede84c1bde0d1ed32872cacbe6e79ce
parent 1dfda8851bb1bb18a4bd334e7763e6e040a9f756
Author: ukai <ukai>
Date:   Tue, 28 Jan 2003 16:34:24 +0000

[w3m-dev 03700] Re: google.cgi (was: Re: keymap key SEARCH string)
* main.c (goURL0): check relative or *url == '#'
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>

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

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,8 @@ +2003-01-29 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> + + * [w3m-dev 03700] Re: google.cgi (was: Re: keymap key SEARCH string) + * main.c (goURL0): check relative or *url == '#' + 2003-01-28 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> * [w3m-dev 03689] Re: fold patch diff --git a/main.c b/main.c @@ -3894,7 +3894,7 @@ goURL0(char *prompt, int relative) } #ifdef JP_CHARSET if (url != NULL) { - if (Currentbuf->document_code) + if ((relative || *url == '#') && Currentbuf->document_code) url = conv(url, InnerCode, Currentbuf->document_code)->ptr; else url = conv_to_system(url);