aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-06-05 15:27:47 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-06-05 15:27:47 +0000
commitf4b88ba232b976737b7f4b8f99186da60235645a (patch)
tree57988a640a2a7b7a5f7919a8ed94cd974567d86a /main.c
parentmain.c (reinit): initKeymap(TRUE) (diff)
downloadw3m-f4b88ba232b976737b7f4b8f99186da60235645a.tar.gz
w3m-f4b88ba232b976737b7f4b8f99186da60235645a.zip
[w3m-dev 03203] dict
* main.c (execdict): fix loadGeneralFile() From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to '')
-rw-r--r--main.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/main.c b/main.c
index 73864a8..877a8fe 100644
--- a/main.c
+++ b/main.c
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.103 2002/06/01 17:26:11 ukai Exp $ */
+/* $Id: main.c,v 1.104 2002/06/05 15:27:47 ukai Exp $ */
#define MAINPROGRAM
#include "fm.h"
#include <signal.h>
@@ -4832,10 +4832,7 @@ execdict(char *word)
return;
}
dictcmd = Sprintf("%s?%s", DictCommand, w)->ptr;
- buf = loadGeneralFile(url_quote_conv(dictcmd, Currentbuf->document_code),
- baseURL(Currentbuf),
- parsedURL2Str(&Currentbuf->currentURL)->ptr,
- 0, NULL);
+ buf = loadGeneralFile(dictcmd, NULL, NO_REFERER, 0, NULL);
if (buf == NULL) {
disp_message("Execution failed", FALSE);
}