commit e355b62d9d1f7ce9c6bddebc427b7e08a38f192c
parent 61569f7501da47899ca1248d649daa6f52d9ae49
Author: ukai <ukai>
Date: Wed, 5 Jun 2002 15:27:47 +0000
[w3m-dev 03203] dict
* main.c (execdict): fix loadGeneralFile()
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat:
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,8 @@
+2002-06-06 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
+
+ * [w3m-dev 03203] dict
+ * main.c (execdict): fix loadGeneralFile()
+
2002-06-02 Tushar Samant <scribble@pobox.com>
* [w3m-dev-en 00748] PATCH: Reinitialize w3m while running
diff --git a/main.c b/main.c
@@ -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);
}