Commit b520d619 authored by Sam Lantinga's avatar Sam Lantinga

Delete is indeed an unprintable character.

parent 3a9c617f
...@@ -766,7 +766,7 @@ SDL_SendKeyboardText(const char *text) ...@@ -766,7 +766,7 @@ SDL_SendKeyboardText(const char *text)
int posted; int posted;
/* Don't post text events for unprintable characters */ /* Don't post text events for unprintable characters */
if (*text < ' ') { if (*text < ' ' || *text == 127) {
return 0; return 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment