commit 33fc2f744fea53150712a2ea51dd292e536bd23e
parent 5591b20e633a33d4b38db1165891ed2838ce8617
Author: ukai <ukai>
Date: Wed, 22 Oct 2003 18:41:11 +0000
[w3m-dev 04009] ./configure --disable-image problem
* file.c (loadHTMLstream): if defined(USE_M17N)
From: ABE Yuji <cbo46560@pop12.odn.ne.jp>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/file.c b/file.c
@@ -6608,7 +6608,7 @@ loadHTMLstream(URLFile *f, Buffer *newBuf, FILE * src, int internal)
}
#endif
lineBuf2 = convertLine(f, lineBuf2, HTML_MODE, &charset, doc_charset);
-#ifdef USE_M17N
+#if defined(USE_M17N) && defined(USE_IMAGE)
cur_document_charset = charset;
#endif
HTMLlineproc0(lineBuf2->ptr, &htmlenv1, internal);