fixup 658bb10
(Based on the comments on that commit) Basically, this ensures it will work even if the compiler (for whatever reason) decides plain char is unsigned.
This commit is contained in:
parent
b68a23c480
commit
c2a53a7fb3
1 changed files with 1 additions and 1 deletions
|
@ -557,7 +557,7 @@ static void event_execute( const SDL_Event& event, command_executor* executor)
|
|||
return;
|
||||
}
|
||||
} else if(event.type == SDL_TEXTINPUT && (
|
||||
(event.text.text[0] <= '\0') ||
|
||||
static_cast<signed char>(event.text.text[0]) <= '\0' ||
|
||||
(event.text.text[1] != '\0')))
|
||||
{
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue