From 01b3a5327787d48207c8b12739adfa32e54f3bf8 Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Fri, 25 Jan 2002 14:59:14 +0000 Subject: [w3m-dev 02908] document code of frame * frame.c (renderFrame): save document_code if JP_CHARSET From: Hironori Sakamoto --- frame.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'frame.c') diff --git a/frame.c b/frame.c index 3727b3f..c0e7a55 100644 --- a/frame.c +++ b/frame.c @@ -1,4 +1,4 @@ -/* $Id: frame.c,v 1.8 2002/01/15 03:45:02 ukai Exp $ */ +/* $Id: frame.c,v 1.9 2002/01/25 14:59:14 ukai Exp $ */ #include "fm.h" #include "parsetagx.h" #include "myctype.h" @@ -792,6 +792,9 @@ renderFrame(Buffer *Cbuf, int force_reload) if (buf == NULL || buf == NO_BUFFER) return NULL; buf->sourcefile = tmp->ptr; +#ifdef JP_CHARSET + buf->document_code = Cbuf->document_code; +#endif copyParsedURL(&buf->currentURL, &Cbuf->currentURL); return buf; } -- cgit v1.2.3