Delete is indeed an unprintable character.

This commit is contained in:
Sam Lantinga 2010-07-21 00:00:05 -07:00
parent 3a9c617ff8
commit b520d61908

View file

@ -766,7 +766,7 @@ SDL_SendKeyboardText(const char *text)
int posted;
/* Don't post text events for unprintable characters */
if (*text < ' ') {
if (*text < ' ' || *text == 127) {
return 0;
}