aboutsummaryrefslogtreecommitdiffstats
path: root/code/unix
diff options
context:
space:
mode:
authortjw <tjw@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-12-07 23:55:01 +0000
committertjw <tjw@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-12-07 23:55:01 +0000
commit04192d972808cbccabcbdb839554704243e13ad2 (patch)
tree2e94a955d161f57419657e91c380d53263f33137 /code/unix
parent49c94b6250b40c4bd3834f947c9302a33553fae0 (diff)
downloadioquake3-aero-04192d972808cbccabcbdb839554704243e13ad2.tar.gz
ioquake3-aero-04192d972808cbccabcbdb839554704243e13ad2.zip
* (bug 2863) allow DEL key to be binded again. I broke it for bug 2650
thanks to Ben Noordhuis for the fix. git-svn-id: svn://svn.icculus.org/quake3/trunk@1012 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/unix')
-rw-r--r--code/unix/sdl_glimp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/code/unix/sdl_glimp.c b/code/unix/sdl_glimp.c
index a24b4eb..73d817f 100644
--- a/code/unix/sdl_glimp.c
+++ b/code/unix/sdl_glimp.c
@@ -267,8 +267,8 @@ static const char *XLateKey(SDL_keysym *keysym, int *key)
//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;