aboutsummaryrefslogtreecommitdiffstats
path: root/display.c
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 /display.c
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 'display.c')
-rw-r--r--display.c4
1 files changed, 2 insertions, 2 deletions
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