diff options
author | Richard M. Stallman <rms@gnu.org> | 1993-08-11 07:56:40 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1993-08-11 07:56:40 +0000 |
commit | 2e3b94e7e987f503b34ce1e4d11ad9b7f681b7bd (patch) | |
tree | 992e0feae1abab8bd3dfc64bd3ab02ff23153695 | |
parent | 6c5c8bbecea1f59f3ac2c7859e7a680da9008d2d (diff) |
(make_lispy_event): Clear all but 0377 in event->code.
-rw-r--r-- | src/keyboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 1a7821acb37..b256e904729 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -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) |