aboutsummaryrefslogtreecommitdiffstats
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
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 '')
-rw-r--r--ChangeLog7
-rw-r--r--frame.c5
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 <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]
@@ -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;
}