From 9b240f9677996ea014065120d1204d0c9800203a Mon Sep 17 00:00:00 2001 From: tomo Date: Sat, 12 Jun 1999 04:43:13 +0000 Subject: [PATCH] (mule_decode): Run `ccl_driver' with `CCL_MODE_DECODING'. (mule_encode): Run `ccl_driver' with `CCL_MODE_ENCODING'. --- src/file-coding.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 1.7.10.4