1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-01 08:17:38 +00:00

(make_lispy_event): Clear all but 0377 in event->code.

This commit is contained in:
Richard M. Stallman 1993-08-11 07:56:40 +00:00
parent 6c5c8bbece
commit 2e3b94e7e9

View File

@ -2234,7 +2234,7 @@ make_lispy_event (event)
/* A simple keystroke. */
case ascii_keystroke:
{
int c = XFASTINT (event->code);
int c = XFASTINT (event->code) & 0377;
/* Turn ASCII characters into control characters
when proper. */
if (event->modifiers & ctrl_modifier)