r1012 - trunk/code/unix

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu Dec 7 18:55:02 EST 2006


Author: tjw
Date: 2006-12-07 18:55:01 -0500 (Thu, 07 Dec 2006)
New Revision: 1012

Modified:
   trunk/code/unix/sdl_glimp.c
Log:
* (bug 2863) allow DEL key to be binded again.  I broke it for bug 2650
  thanks to Ben Noordhuis for the fix.


Modified: trunk/code/unix/sdl_glimp.c
===================================================================
--- trunk/code/unix/sdl_glimp.c	2006-12-04 13:37:50 UTC (rev 1011)
+++ trunk/code/unix/sdl_glimp.c	2006-12-07 23:55:01 UTC (rev 1012)
@@ -267,8 +267,8 @@
     //else if (ch >= 'A' && ch <= 'Z')
     //  ch = ch - 'A' + 'a';
 
-    // tjw: translate K_BACKSPACE to ctrl-h for MACOS_X (others?)
-    if (ch == K_BACKSPACE)
+    // translate K_BACKSPACE to ctrl-h for MACOS_X (others?)
+    if (ch == K_BACKSPACE && keysym->sym != SDLK_DELETE)
     {
       *key = 'h' - 'a' + 1;
       buf[0] = *key;




More information about the quake3-commits mailing list