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 --- ChangeLog | 7 ++++++- frame.c | 5 ++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index b61a16a..04a8c1a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-01-25 Hironori Sakamoto + + * [w3m-dev 02908] document code of frame + * frame.c (renderFrame): save document_code if JP_CHARSET + 2002-01-25 Fumitoshi UKAI * [w3m-dev 02904] @@ -2286,4 +2291,4 @@ * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.260 2002/01/25 14:55:20 ukai Exp $ +$Id: ChangeLog,v 1.261 2002/01/25 14:59:14 ukai Exp $ 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