r516 - trunk/code/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sun Jan 22 12:07:21 EST 2006


Author: tma
Date: 2006-01-22 12:07:21 -0500 (Sun, 22 Jan 2006)
New Revision: 516

Modified:
   trunk/code/client/cl_keys.c
Log:
* Fix the operation of the delete key in *nix


Modified: trunk/code/client/cl_keys.c
===================================================================
--- trunk/code/client/cl_keys.c	2006-01-22 17:05:43 UTC (rev 515)
+++ trunk/code/client/cl_keys.c	2006-01-22 17:07:21 UTC (rev 516)
@@ -1209,6 +1209,12 @@
 		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 )
 	{




More information about the quake3-commits mailing list