diff options
author | Kenichi Handa <handa@m17n.org> | 2003-05-30 07:57:48 +0000 |
---|---|---|
committer | Kenichi Handa <handa@m17n.org> | 2003-05-30 07:57:48 +0000 |
commit | b671ed5e8e942b8a804ba3ed7ce2bfc601f496ac (patch) | |
tree | c5ae330a115286f2c228429bb31dbf7dbb6393c9 /src/coding.c | |
parent | fd40a25f7128bab94f84155c428087015db3fda1 (diff) | |
download | emacs-b671ed5e8e942b8a804ba3ed7ce2bfc601f496ac.tar.gz |
(ccl_coding_driver): Set ccl->eight_bit_control
property before calling ccl_driver.
Diffstat (limited to 'src/coding.c')
-rw-r--r-- | src/coding.c | 3 |
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) 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) { |