Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
CelticMinstrel committed Aug 2, 2017
1 parent 6ad3786 commit 44b8df0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotkey/command_executor.cpp
Expand Up @@ -521,7 +521,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 && utf8::size(utf8::string(event.text.text, event.text.text + 32)) == 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 44b8df0

Please sign in to comment.