From 81f5c7f493912f6ee39a1bcd5c244e8321351d48 Mon Sep 17 00:00:00 2001 From: tma Date: Sun, 22 Jan 2006 17:07:21 +0000 Subject: * Fix the operation of the delete key in *nix git-svn-id: svn://svn.icculus.org/quake3/trunk@516 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/client/cl_keys.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/code/client/cl_keys.c b/code/client/cl_keys.c index 889ca82..31cbe33 100644 --- a/code/client/cl_keys.c +++ b/code/client/cl_keys.c @@ -1209,6 +1209,12 @@ void CL_CharEvent( int key ) { return; } + // delete is not a printable character and is + // otherwise handled by Field_KeyDownEvent + if ( key == 127 ) { + return; + } + // distribute the key down event to the apropriate handler if ( cls.keyCatchers & KEYCATCH_CONSOLE ) { -- cgit v1.2.3