fixup! Handle all shortcuts in the same function

This commit is contained in:
Romain Vimont 2018-02-02 15:17:03 +01:00
parent 0a70e24e80
commit d73dee9833

View file

@ -407,6 +407,9 @@ static void handle_key(const SDL_KeyboardEvent *event) {
case SDLK_g:
handle_shortcut('g');
return;
case SDLK_h:
handle_shortcut('h');
return;
case SDLK_b: // fall-through
case SDLK_BACKSPACE:
handle_shortcut('b');