From 755718c88339a49a6b0721bf4908781b76369ca1 Mon Sep 17 00:00:00 2001 From: Dai Sato Date: Mon, 12 Jun 2006 11:51:59 +0000 Subject: avoid decoding when dump_extra option is specified. --- ChangeLog | 7 ++++++- file.c | 4 +++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index a9c7ac7..b9b626e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-06-12 Dai Sato + + * another fix for [w3m-dev-en 01067] Some more patches + * file.c (loadBuffer): avoid decoding when dump_extra option is specified. + 2006-06-10 Dai Sato * fix for [w3m-dev-en 01067] Some more patches @@ -8743,4 +8748,4 @@ a * [w3m-dev 03276] compile error on EWS4800 * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.967 2006/06/10 11:09:06 inu Exp $ +$Id: ChangeLog,v 1.968 2006/06/12 11:51:59 inu Exp $ diff --git a/file.c b/file.c index b3552dc..d6d415d 100644 --- a/file.c +++ b/file.c @@ -1,4 +1,4 @@ -/* $Id: file.c,v 1.245 2006/06/10 11:09:06 inu Exp $ */ +/* $Id: file.c,v 1.246 2006/06/12 11:51:59 inu Exp $ */ #include "fm.h" #include #include "myctype.h" @@ -7015,6 +7015,8 @@ loadBuffer(URLFile *uf, Buffer *volatile newBuf) if (src) Strfputs(lineBuf2, src); linelen += lineBuf2->length; + if (w3m_dump & DUMP_EXTRA) + printf("W3m-in-progress: %s\n", convert_size2(linelen, current_content_length, TRUE)); if (w3m_dump & DUMP_SOURCE) continue; showProgress(&linelen, &trbyte); -- cgit v1.2.3