w3m

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

commit 30059015887dea566a268215048a123e71acf8be
parent f68641d19bb929a62968832f0eb1222e490d5c2c
Author: inu <inu>
Date:   Sat, 10 Jun 2006 11:09:06 +0000

avoid decoding when dump_extra option is specified.

Diffstat:
MChangeLog | 7++++++-
Mfile.c | 2+-
2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,4 +1,9 @@ -2006-06-07 Dai Sato <satodai@w3m.jp> +2006-06-10 Dai Sato <satodai@w3m.jp> + + * fix for [w3m-dev-en 01067] Some more patches + * file.c (loadGeneralFile): avoid decoding when dump_extra option is specified. + +2006-06-10 Dai Sato <satodai@w3m.jp> * [w3m-dev 03992] Change to display progress status when dump_extra option is specified * file.c (loadHTMLstream): Show progress status when dump_extra option is specified. diff --git a/file.c b/file.c @@ -2126,7 +2126,7 @@ loadGeneralFile(char *path, ParsedURL *volatile current, char *referer, return NO_BUFFER; } - if (f.content_encoding != CMP_NOCOMPRESS) { + if ((f.content_encoding != CMP_NOCOMPRESS) && !(w3m_dump & DUMP_EXTRA)) { uncompress_stream(&f, &pu.real_file); } else if (f.compression != CMP_NOCOMPRESS) {