From 2fdfc8c8fd2715ed16ad6f45d644720abc116e94 Mon Sep 17 00:00:00 2001 From: havoc Date: Mon, 21 Dec 2009 09:09:54 +0000 Subject: [PATCH] print unknown keys a little differently, to avoid escape characters git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9628 d7cf8633-e32d-0410-b094-e92efae38249 --- keys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keys.c b/keys.c index f01ee9f0..a2878c0c 100644 --- a/keys.c +++ b/keys.c @@ -1397,7 +1397,7 @@ Key_Event (int key, int ascii, qboolean down) bind = keybindings[key_bmap2][key]; if (developer.integer >= 1000) - Con_Printf("Key_Event(%i, '%c', %s) keydown %i bind \"%s\"\n", key, ascii, down ? "down" : "up", keydown[key], bind ? bind : ""); + Con_Printf("Key_Event(%i, '%c', %s) keydown %i bind \"%s\"\n", key, ascii ? ascii : '?', down ? "down" : "up", keydown[key], bind ? bind : ""); if(key_consoleactive) keydest = key_console; -- 2.39.2