aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-01-28 16:34:24 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-01-28 16:34:24 +0000
commit99bb92c0f58510d3e47962c0de7560c10388dc97 (patch)
treea5f044feeb77bd740d18f4bab869529153a155db
parent[w3m-dev 03689] Re: fold patch (diff)
downloadw3m-99bb92c0f58510d3e47962c0de7560c10388dc97.tar.gz
w3m-99bb92c0f58510d3e47962c0de7560c10388dc97.zip
[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>
-rw-r--r--ChangeLog7
-rw-r--r--main.c4
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 16b2ae2..9366680 100644
--- 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
@@ -6876,4 +6881,4 @@ a * [w3m-dev 03276] compile error on EWS4800
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.718 2003/01/27 16:18:48 ukai Exp $
+$Id: ChangeLog,v 1.719 2003/01/28 16:34:24 ukai Exp $
diff --git a/main.c b/main.c
index c06573f..d76105d 100644
--- a/main.c
+++ b/main.c
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.201 2003/01/27 16:18:53 ukai Exp $ */
+/* $Id: main.c,v 1.202 2003/01/28 16:34:25 ukai Exp $ */
#define MAINPROGRAM
#include "fm.h"
#include <signal.h>
@@ -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);