From 9b0ca8694380ca9553fc443713b3ca21148b5cb0 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Thu, 26 Nov 1998 08:12:12 +0000 Subject: [PATCH] (ccl_driver) : Don't suppress MSB if the charset is ascii. (ccl_driver) : Likewise. --- src/ccl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ccl.c b/src/ccl.c index 2778aa54a29..55bd2ca388e 100644 --- a/src/ccl.c +++ b/src/ccl.c @@ -1219,7 +1219,7 @@ ccl_driver (ccl, source, destination, src_bytes, dst_bytes, consumed) case CCL_TranslateCharacter: i = reg[RRR]; /* charset */ if (i == CHARSET_ASCII) - i = reg[rrr] & 0x7F; + i = reg[rrr]; else if (i == CHARSET_COMPOSITION) { reg[RRR] = -1; @@ -1246,7 +1246,7 @@ ccl_driver (ccl, source, destination, src_bytes, dst_bytes, consumed) ic++; i = reg[RRR]; /* charset */ if (i == CHARSET_ASCII) - i = reg[rrr] & 0x7F; + i = reg[rrr]; else if (i == CHARSET_COMPOSITION) { reg[RRR] = -1; -- 2.39.2