fixup! Handle all shortcuts in the same function
This commit is contained in:
parent
0a70e24e80
commit
d73dee9833
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue