aboutsummaryrefslogtreecommitdiffstats
path: root/frame.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-01-25 14:59:14 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-01-25 14:59:14 +0000
commit01b3a5327787d48207c8b12739adfa32e54f3bf8 (patch)
tree35bb44000662164d9fe60e16ff22abe03c17a9f1 /frame.c
parent[w3m-dev 02904] (diff)
downloadw3m-01b3a5327787d48207c8b12739adfa32e54f3bf8.tar.gz
w3m-01b3a5327787d48207c8b12739adfa32e54f3bf8.zip
[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 (limited to 'frame.c')
-rw-r--r--frame.c5
1 files changed, 4 insertions, 1 deletions
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;
}