From f4b88ba232b976737b7f4b8f99186da60235645a Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Wed, 5 Jun 2002 15:27:47 +0000 Subject: [w3m-dev 03203] dict * main.c (execdict): fix loadGeneralFile() From: Hironori SAKAMOTO --- main.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'main.c') 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 @@ -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); } -- cgit v1.2.3