From: tomo Date: Sat, 12 Jun 1999 04:43:13 +0000 (+0000) Subject: (mule_decode): Run `ccl_driver' with `CCL_MODE_DECODING'. X-Git-Tag: r21-2-15-tomo-4~3 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=9b240f9677996ea014065120d1204d0c9800203a;p=chise%2Fxemacs-chise.git.1 (mule_decode): Run `ccl_driver' with `CCL_MODE_DECODING'. (mule_encode): Run `ccl_driver' with `CCL_MODE_ENCODING'. --- diff --git a/src/file-coding.c b/src/file-coding.c index daae138..7a7eee3 100644 --- a/src/file-coding.c +++ b/src/file-coding.c @@ -2116,7 +2116,7 @@ mule_decode (Lstream *decoding, CONST unsigned char *src, decode_coding_utf8 (decoding, src, dst, n); break; case CODESYS_CCL: - ccl_driver (&str->ccl, src, dst, n, 0); + ccl_driver (&str->ccl, src, dst, n, 0, CCL_MODE_DECODING); break; case CODESYS_ISO2022: decode_coding_iso2022 (decoding, src, dst, n); @@ -2528,7 +2528,7 @@ mule_encode (Lstream *encoding, CONST unsigned char *src, encode_coding_utf8 (encoding, src, dst, n); break; case CODESYS_CCL: - ccl_driver (&str->ccl, src, dst, n, 0); + ccl_driver (&str->ccl, src, dst, n, 0, CCL_MODE_ENCODING); break; case CODESYS_ISO2022: encode_coding_iso2022 (encoding, src, dst, n);