aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/coding.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/coding.c b/src/coding.c
index 570715a2441..584ad730903 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -4564,7 +4564,10 @@ ccl_coding_driver (coding, source, destination, src_bytes, dst_bytes, encodep)
4564 if (ccl->eol_type ==CODING_EOL_UNDECIDED) 4564 if (ccl->eol_type ==CODING_EOL_UNDECIDED)
4565 ccl->eol_type = CODING_EOL_LF; 4565 ccl->eol_type = CODING_EOL_LF;
4566 ccl->cr_consumed = coding->spec.ccl.cr_carryover; 4566 ccl->cr_consumed = coding->spec.ccl.cr_carryover;
4567 ccl->eight_bit_control = coding->dst_multibyte;
4567 } 4568 }
4569 else
4570 ccl->eight_bit_control = 1;
4568 ccl->multibyte = coding->src_multibyte; 4571 ccl->multibyte = coding->src_multibyte;
4569 if (coding->spec.ccl.eight_bit_carryover[0] != 0) 4572 if (coding->spec.ccl.eight_bit_carryover[0] != 0)
4570 { 4573 {