Fix #1893 - inverted condition from 047120e2f

This commit is contained in:
Celtic Minstrel 2017-08-11 23:44:52 -04:00
parent f83dcfb549
commit 5c701f207b

View file

@ -527,7 +527,7 @@ static void event_execute( const SDL_Event& event, command_executor* executor)
if(!CKey::is_uncomposable(event.key) && !(mods & KMOD_CTRL) && !(mods & KMOD_ALT) && !(mods & KMOD_GUI)) {
return;
}
} else if(event.type == SDL_TEXTINPUT && event.text.text[31] == 0 && utf8::size(utf8::string(event.text.text)) == 1) {
} else if(event.type == SDL_TEXTINPUT && !(event.text.text[31] == 0 && utf8::size(utf8::string(event.text.text)) == 1)) {
return;
}