diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-01-25 14:59:14 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-01-25 14:59:14 +0000 |
commit | 01b3a5327787d48207c8b12739adfa32e54f3bf8 (patch) | |
tree | 35bb44000662164d9fe60e16ff22abe03c17a9f1 /frame.c | |
parent | [w3m-dev 02904] (diff) | |
download | w3m-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 '')
-rw-r--r-- | frame.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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; } |