diff src/events/SDL_keyboard.c @ 4562:dc9d77a26388

Delete is indeed an unprintable character.
author Sam Lantinga <slouken@libsdl.org>
date Wed, 21 Jul 2010 00:00:05 -0700
parents 95352c671a6e
children e2d46c5c7483
line wrap: on
line diff
--- a/src/events/SDL_keyboard.c	Tue Jul 20 23:59:16 2010 -0700
+++ b/src/events/SDL_keyboard.c	Wed Jul 21 00:00:05 2010 -0700
@@ -766,7 +766,7 @@
     int posted;
 
     /* Don't post text events for unprintable characters */
-    if (*text < ' ') {
+    if (*text < ' ' || *text == 127) {
         return 0;
     }