aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
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);