aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa <[email protected]>2003-05-30 07:57:48 +0000
committerKenichi Handa <[email protected]>2003-05-30 07:57:48 +0000
commitb671ed5e8e942b8a804ba3ed7ce2bfc601f496ac (patch)
treec5ae330a115286f2c228429bb31dbf7dbb6393c9
parentfd40a25f7128bab94f84155c428087015db3fda1 (diff)
(ccl_coding_driver): Set ccl->eight_bit_control
property before calling ccl_driver.
-rw-r--r--src/coding.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/coding.c b/src/coding.c
index 570715a244..584ad73090 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -4564,7 +4564,10 @@ ccl_coding_driver (coding, source, destination, src_bytes, dst_bytes, encodep)
if (ccl->eol_type ==CODING_EOL_UNDECIDED)
ccl->eol_type = CODING_EOL_LF;
ccl->cr_consumed = coding->spec.ccl.cr_carryover;
+ ccl->eight_bit_control = coding->dst_multibyte;
}
+ else
+ ccl->eight_bit_control = 1;
ccl->multibyte = coding->src_multibyte;
if (coding->spec.ccl.eight_bit_carryover[0] != 0)
{