diff options
author | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2006-01-22 17:07:21 +0000 |
---|---|---|
committer | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2006-01-22 17:07:21 +0000 |
commit | 81f5c7f493912f6ee39a1bcd5c244e8321351d48 (patch) | |
tree | 9019d116713b9f8ef4e17fad0243e94825285881 /code/client | |
parent | a05e7d2e4459992dd07f5719f5e86833fe8f5b8a (diff) | |
download | ioquake3-aero-81f5c7f493912f6ee39a1bcd5c244e8321351d48.tar.gz ioquake3-aero-81f5c7f493912f6ee39a1bcd5c244e8321351d48.zip |
* Fix the operation of the delete key in *nix
git-svn-id: svn://svn.icculus.org/quake3/trunk@516 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/client')
-rw-r--r-- | code/client/cl_keys.c | 6 |
1 files changed, 6 insertions, 0 deletions
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 ) { |