commit 77516bd717fff828c86c65db2b6dbf168fdcc276
parent 8739e6993aa8ff767e14a2c2c01808cc155f8bcc
Author: ukai <ukai>
Date: Thu, 6 Feb 2003 17:16:53 +0000
[w3m-dev 03733] Re: display decoded URL
* display.c (make_lastline_link): buf->document_code
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat:
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git 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
diff --git a/display.c b/display.c
@@ -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