mirror of
https://github.com/yawut/SDL.git
synced 2026-09-15 04:26:28 -05:00
Delete is indeed an unprintable character.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user