]> git.eshelyaron.com Git - emacs.git/commitdiff
(make_lispy_event): Clear all but 0377 in event->code.
authorRichard M. Stallman <rms@gnu.org>
Wed, 11 Aug 1993 07:56:40 +0000 (07:56 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 11 Aug 1993 07:56:40 +0000 (07:56 +0000)
src/keyboard.c

index 1a7821acb3777a326fa11952c3826ec5c81326e0..b256e9047295b27674b955cf35805cf22181972a 100644 (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)