Skip to content

Commit

Permalink
Fix #1893 - inverted condition from 047120e
Browse files Browse the repository at this point in the history
  • Loading branch information
CelticMinstrel committed Aug 12, 2017
1 parent f83dcfb commit 5c701f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotkey/command_executor.cpp
Expand Up @@ -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;
}

Expand Down

0 comments on commit 5c701f2

Please sign in to comment.