From 9f22ae9cb232e39da7490ada99412e44cdf00a4a Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Mon, 17 Mar 2014 12:46:09 -0500 Subject: [PATCH] Fix ctrl-c etc codes for edit fields --- code/sdl/sdl_input.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/sdl/sdl_input.c b/code/sdl/sdl_input.c index 3bf785cf..22428d57 100644 --- a/code/sdl/sdl_input.c +++ b/code/sdl/sdl_input.c @@ -731,6 +731,8 @@ static void IN_ProcessEvents( void ) if( key == K_BACKSPACE ) Com_QueueEvent( 0, SE_CHAR, CTRL('h'), 0, 0, NULL ); + else if( keys[K_CTRL].down && key >= 'a' && key <= 'z' ) + Com_QueueEvent( 0, SE_CHAR, CTRL(key), 0, 0, NULL ); lastKeyDown = key; break;