aboutsummaryrefslogtreecommitdiffstats
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
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--ChangeLog7
-rw-r--r--main.c7
2 files changed, 8 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 1e3f58e..8d6226d 100644
--- 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
@@ -3454,4 +3459,4 @@
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.382 2002/06/01 17:09:04 ukai Exp $
+$Id: ChangeLog,v 1.383 2002/06/05 15:27:47 ukai Exp $
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);
}