Index: sdl_input.c =================================================================== --- sdl_input.c (Revision 1799) +++ sdl_input.c (Arbeitskopie) @@ -336,6 +336,13 @@ if( in_keyboardDebug->integer ) IN_PrintKey( keysym, *key, down ); + + if( IN_IsConsoleKey( *key, *buf ) ) + { + // Console keys can't be bound or generate characters + *key = K_CONSOLE; + *buf = '\0'; + } // Keys that have ASCII names but produce no character are probably // dead keys -- ignore them @@ -348,13 +355,6 @@ *key = 0; } - if( IN_IsConsoleKey( *key, *buf ) ) - { - // Console keys can't be bound or generate characters - *key = K_CONSOLE; - *buf = '\0'; - } - // Don't allow extended ASCII to generate characters if( *buf & 0x80 ) *buf = '\0';