From 0ad3f83d15da1a73dc58370be01fd17e82decf38 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Wed, 8 Sep 1999 11:16:02 +0000 Subject: [PATCH] Reset MSBs of arguments of MAKE_CHAR. --- src/charset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/charset.c b/src/charset.c index 91f510476a0..66d53003b0d 100644 --- a/src/charset.c +++ b/src/charset.c @@ -423,7 +423,7 @@ translate_char (table, c, charset, c1, c2) Lisp_Object ch; int alt_charset, alt_c1, alt_c2, dimension; - if (c < 0) c = MAKE_CHAR (charset, c1, c2); + if (c < 0) c = MAKE_CHAR (charset, (c1 & 0x7F) , (c2 & 0x7F)); if (!CHAR_TABLE_P (table) || (ch = Faref (table, make_number (c)), !NATNUMP (ch))) return c; -- 2.39.5