aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-02-06 17:16:53 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-02-06 17:16:53 +0000
commit1724907ef8a5de02057082d16b9a1e4e5e335f16 (patch)
tree428c8bc2ea360572f85aab34abb0b1bf3729a305
parent[w3m-dev 03732] Re: scroll() is slow ? (diff)
downloadw3m-1724907ef8a5de02057082d16b9a1e4e5e335f16.tar.gz
w3m-1724907ef8a5de02057082d16b9a1e4e5e335f16.zip
[w3m-dev 03733] Re: display decoded URL
* display.c (make_lastline_link): buf->document_code From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to '')
-rw-r--r--ChangeLog7
-rw-r--r--display.c4
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index c7fc387..b4e8933 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2003-02-07 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
+ * [w3m-dev 03733] Re: display decoded URL
+ * display.c (make_lastline_link): buf->document_code
+
+2003-02-07 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
+
* [w3m-dev 03732] Re: scroll() is slow ?
* configure (use_raw_scroll): added
(config.h) use_raw_scroll
@@ -7100,4 +7105,4 @@ a * [w3m-dev 03276] compile error on EWS4800
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.740 2003/02/06 17:15:04 ukai Exp $
+$Id: ChangeLog,v 1.741 2003/02/06 17:16:53 ukai Exp $
diff --git a/display.c b/display.c
index e0c3319..31d77f9 100644
--- a/display.c
+++ b/display.c
@@ -1,4 +1,4 @@
-/* $Id: display.c,v 1.63 2003/02/06 17:15:11 ukai Exp $ */
+/* $Id: display.c,v 1.64 2003/02/06 17:16:56 ukai Exp $ */
#include <signal.h>
#include "fm.h"
@@ -259,7 +259,7 @@ make_lastline_link(Buffer *buf, char *title, char *url)
parseURL2(url, &pu, baseURL(buf));
u = parsedURL2Str(&pu);
if (DecodeURL)
- u = Strnew_charp(url_unquote_conv(u->ptr, Currentbuf->document_code));
+ u = Strnew_charp(url_unquote_conv(u->ptr, buf->document_code));
#ifdef JP_CHARSET
u = checkType(u, &pr, NULL);
#endif