aboutsummaryrefslogtreecommitdiffstats
path: root/display.c
diff options
context:
space:
mode:
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