commit 4518ce9f1da742002d556e7cabf6a2d8977b3239
parent 6d16f1d169a88734733de6d8f267acb70fc01e80
Author: ukai <ukai>
Date: Fri, 25 Jan 2002 14:59:14 +0000
[w3m-dev 02908] document code of frame
* frame.c (renderFrame): save document_code if JP_CHARSET
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
Diffstat:
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,8 @@
+2002-01-25 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
+
+ * [w3m-dev 02908] document code of frame
+ * frame.c (renderFrame): save document_code if JP_CHARSET
+
2002-01-25 Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02904]
diff --git a/frame.c b/frame.c
@@ -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;
}