diff options
Diffstat (limited to 'src/LYPrint.c')
-rw-r--r-- | src/LYPrint.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/LYPrint.c b/src/LYPrint.c index 58d0b1a1..0bd554ae 100644 --- a/src/LYPrint.c +++ b/src/LYPrint.c @@ -584,8 +584,8 @@ PUBLIC int printfile ARGS1( * if the document has 8-bit characters and we we seem * to have a valid charset. - kw */ - use_cte = HTLoadedDocumentEightbit(); #ifdef EXP_CHARTRANS + use_cte = HTLoadedDocumentEightbit(); disp_charset = LYCharSet_UC[current_char_set].MIMEname; /* * Don't send a charset if we have a CJK character set @@ -597,6 +597,7 @@ PUBLIC int printfile ARGS1( disp_charset = NULL; } #else + use_cte = NO; disp_charset = NULL; #endif /* EXP_CHARTRANS */ use_type = (disp_charset || HTisDocumentSource()); |