w3m

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/w3m.git/
Log | Files | Refs | README

commit dc8a8afe3462ae0e425aa5962250ad6a8ded4a46
parent bc2f882c473f800f51d7f8c606a7bf1b965a235a
Author: ukai <ukai>
Date:   Sun,  3 Feb 2002 15:22:24 +0000

[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:
MChangeLog | 5+++++
Mfile.c | 2++
2 files changed, 7 insertions(+), 0 deletions(-)

diff --git 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 diff --git a/file.c b/file.c @@ -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)