diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-02-03 15:22:24 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-02-03 15:22:24 +0000 |
commit | b649a8880a5c2712dd71ab578eaef62f44174b6c (patch) | |
tree | 2597dd3766dfcd7462fd0c9c05c1f068a1c4a1e4 /file.c | |
parent | [w3m-dev 02967] parallel image downloading (diff) | |
download | w3m-b649a8880a5c2712dd71ab578eaef62f44174b6c.tar.gz w3m-b649a8880a5c2712dd71ab578eaef62f44174b6c.zip |
[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>
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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) |