aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--file.c4
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 881e196..491cfbb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-12-06 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
+
+ * [w3m-dev 02619]
+ * file.c (loadHTMLString): set document type
+
2001-12-05 Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02618]
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)