fixup! Handle all shortcuts in the same function

hidpi
Romain Vimont 6 years ago
parent 0a70e24e80
commit d73dee9833

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

Loading…
Cancel
Save