Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Delete is indeed an unprintable character.
  • Loading branch information
slouken committed Jul 21, 2010
1 parent 8d31149 commit 99d7a38eb8496ff8c61bb9a6bd04fb4e08a44a8a
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/events/SDL_keyboard.c
@@ -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;
}

0 comments on commit 99d7a38

Please sign in to comment.