Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Delete is indeed an unprintable character.
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jul 21, 2010
1 parent 8d31149 commit 99d7a38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/events/SDL_keyboard.c
Expand Up @@ -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;
}

Expand Down

0 comments on commit 99d7a38

Please sign in to comment.