aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ChangeLog7
-rw-r--r--file.c4
2 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 95776ba..622837b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-02-04 Kazuhiko <kazuhiko@archi.kyoto-u.ac.jp>
+
+ * [w3m-dev 02979] code_to_str not found ifndef JP_CHARSET
+ * file.c (print_internal_information): ifdef JP_CHARSET
+
2002-02-03 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02967] parallel image downloading
@@ -2745,4 +2750,4 @@
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.294 2002/02/03 06:38:49 ukai Exp $
+$Id: ChangeLog,v 1.295 2002/02/03 15:22:24 ukai Exp $
diff --git a/file.c b/file.c
index 48b9b8f..34959f7 100644
--- a/file.c
+++ b/file.c
@@ -1,4 +1,4 @@
-/* $Id: file.c,v 1.59 2002/02/03 06:12:41 ukai Exp $ */
+/* $Id: file.c,v 1.60 2002/02/03 15:22:24 ukai Exp $ */
#include "fm.h"
#include <sys/types.h>
#include "myctype.h"
@@ -5731,8 +5731,10 @@ print_internal_information(struct html_feed_environ *henv)
: ((fp->method == FORM_METHOD_INTERNAL) ? "internal" : "get"));
if (fp->target)
Strcat(s, Sprintf(" target=\"%s\"", fp->target));
+#ifdef JP_CHARSET
if (fp->charset)
Strcat(s, Sprintf(" accept-charset=\"%s\"", code_to_str(fp->charset)));
+#endif
if (fp->enctype == FORM_ENCTYPE_MULTIPART)
Strcat_charp(s, " enctype=multipart/form-data");
if (fp->boundary)