changeset 25610:5f9f35400f70

Reset MSBs of arguments of MAKE_CHAR.
author Kenichi Handa <handa@m17n.org>
date Wed, 08 Sep 1999 11:16:02 +0000
parents 157f0e91232e
children 9c9d13747ffb
files src/charset.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/charset.c	Wed Sep 08 08:01:16 1999 +0000
+++ b/src/charset.c	Wed Sep 08 11:16:02 1999 +0000
@@ -423,7 +423,7 @@
   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;