]> git.eshelyaron.com Git - emacs.git/commitdiff
(ccl_coding_driver): Set ccl->eight_bit_control
authorKenichi Handa <handa@m17n.org>
Fri, 30 May 2003 08:12:19 +0000 (08:12 +0000)
committerKenichi Handa <handa@m17n.org>
Fri, 30 May 2003 08:12:19 +0000 (08:12 +0000)
properly before calling ccl_driver.

src/coding.c

index eac9a6d3d9e51c76f21ca737e8fb4072e44f5d4d..09caa327ef2de2fd5e4b625b3b6cbad575103ec4 100644 (file)
@@ -4477,7 +4477,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)
     {