From 1724907ef8a5de02057082d16b9a1e4e5e335f16 Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Thu, 6 Feb 2003 17:16:53 +0000 Subject: [w3m-dev 03733] Re: display decoded URL * display.c (make_lastline_link): buf->document_code From: Hironori SAKAMOTO --- ChangeLog | 7 ++++++- display.c | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index c7fc387..b4e8933 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-02-07 Hironori SAKAMOTO + + * [w3m-dev 03733] Re: display decoded URL + * display.c (make_lastline_link): buf->document_code + 2003-02-07 Hironori SAKAMOTO * [w3m-dev 03732] Re: scroll() is slow ? @@ -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 #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 -- cgit v1.2.3