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

(push_key_description): Ignore bits above meta_modifier.

parent 7b7739b1
......@@ -1139,6 +1139,9 @@ push_key_description (c, p)
register unsigned int c;
register char *p;
/* Clear all the meaningless bits above the meta bit. */
c &= meta_modifier | ~ - meta_modifier;
if (c & alt_modifier)
*p++ = 'A';
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