mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-23 21:37:34 +00:00
Reset MSBs of arguments of MAKE_CHAR.
This commit is contained in:
parent
0205059671
commit
0ad3f83d15
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue