changeset 51327:389d833cd25e

(ccl_coding_driver): Set ccl->eight_bit_control property before calling ccl_driver.
author Kenichi Handa <handa@m17n.org>
date Fri, 30 May 2003 07:57:48 +0000
parents 92b845a3d3a6
children 2466e5a90751
files src/coding.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/coding.c	Fri May 30 07:56:08 2003 +0000
+++ b/src/coding.c	Fri May 30 07:57:48 2003 +0000
@@ -4564,7 +4564,10 @@
       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)
     {