aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c2
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)
2234 /* A simple keystroke. */ 2234 /* A simple keystroke. */
2235 case ascii_keystroke: 2235 case ascii_keystroke:
2236 { 2236 {
2237 int c = XFASTINT (event->code); 2237 int c = XFASTINT (event->code) & 0377;
2238 /* Turn ASCII characters into control characters 2238 /* Turn ASCII characters into control characters
2239 when proper. */ 2239 when proper. */
2240 if (event->modifiers & ctrl_modifier) 2240 if (event->modifiers & ctrl_modifier)