summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZack Middleton <zturtleman@gmail.com>2014-03-17 12:46:09 -0500
committerTim Angus <tim@ngus.net>2014-08-28 11:03:32 +0100
commit691ccef4078f82424e1c3dae2e7d1ba0ff6573ce (patch)
treec5caf69ea6638dcaf2be5d13a054a53d2dcf75bf /src
parent515b6ee81240c720ad3fc10940d8f0c6e874fd9c (diff)
Fix ctrl-c etc codes for edit fields
Diffstat (limited to 'src')
-rw-r--r--src/sdl/sdl_input.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sdl/sdl_input.c b/src/sdl/sdl_input.c
index c6f52ac9..19fbcaae 100644
--- a/src/sdl/sdl_input.c
+++ b/src/sdl/sdl_input.c
@@ -780,6 +780,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;