diff options
| -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) | 
