Commit f4977051 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(Fsingle_key_description): Fix previous change.

parent 8b56e02d
......@@ -1860,11 +1860,12 @@ Control characters turn into C-whatever, etc.")
if (INTEGERP (key)) /* Normal character */
{
unsigned int charset, c1, c2;
int without_bits = XINT (key) & ~((-1) << CHARACTERBITS);
if (SINGLE_BYTE_CHAR_P (XINT (key)))
if (SINGLE_BYTE_CHAR_P (without_bits))
charset = 0;
else
SPLIT_NON_ASCII_CHAR (XINT (key), charset, c1, c2);
SPLIT_NON_ASCII_CHAR (without_bits, charset, c1, c2);
if (charset
&& ((c1 >= 0 && c1 < 32)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment