changeset 4562:dc9d77a26388

Delete is indeed an unprintable character.
author Sam Lantinga <slouken@libsdl.org>
date Wed, 21 Jul 2010 00:00:05 -0700
parents e4b2b7207f79
children ffd169948438
files src/events/SDL_keyboard.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;
     }