aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2001-12-05 17:29:26 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2001-12-05 17:29:26 +0000
commitae3b8a0b9bae6f3b15e267e699dd3ac304b8ec66 (patch)
treefeed0ba7c64ea7c26a12b1d86f1322ad702e1b2b /file.c
parent[w3m-dev 02618] (diff)
downloadw3m-ae3b8a0b9bae6f3b15e267e699dd3ac304b8ec66.tar.gz
w3m-ae3b8a0b9bae6f3b15e267e699dd3ac304b8ec66.zip
[w3m-dev 02619]
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to '')
-rw-r--r--file.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/file.c b/file.c
index 74add5e..8245865 100644
--- a/file.c
+++ b/file.c
@@ -1,4 +1,4 @@
-/* $Id: file.c,v 1.25 2001/12/02 16:26:08 ukai Exp $ */
+/* $Id: file.c,v 1.26 2001/12/05 17:29:26 ukai Exp $ */
#include "fm.h"
#include <sys/types.h>
#include "myctype.h"
@@ -5104,6 +5104,8 @@ loadHTMLString(Str page)
#ifdef JP_CHARSET
newBuf->document_code = InnerCode;
#endif /* JP_CHARSET */
+ newBuf->type = "text/html";
+ newBuf->real_type = newBuf->type;
if (n_textarea)
formResetBuffer(newBuf, newBuf->formitem);
if (src)