[w3m-dev 02979] code_to_str not found ifndef JP_CHARSET

* file.c (print_internal_information): ifdef JP_CHARSET
From: Kazuhiko <kazuhiko@archi.kyoto-u.ac.jp>
This commit is contained in:
Fumitoshi UKAI
2002-02-03 15:22:24 +00:00
parent 2649df63c9
commit b649a8880a
2 changed files with 9 additions and 2 deletions
+6 -1
View File
@@ -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 $
+3 -1
View File
@@ -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)