Skip to content

Commit

Permalink
clang format
Browse files Browse the repository at this point in the history
  • Loading branch information
Vagabond committed Jun 25, 2024
1 parent bfa8ef1 commit 9627af2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/game/scenes/mainmenu/menu_presskey.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,8 @@ void menu_presskey_tick(component *c) {
int keys = 0;
const unsigned char *state = SDL_GetKeyboardState(&keys);
for(int i = 0; i < keys; i++) {
if (i < SDL_SCANCODE_A ||
(i > SDL_SCANCODE_EXSEL && i < SDL_SCANCODE_KP_00) ||
i > SDL_SCANCODE_KP_HEXADECIMAL) {
if(i < SDL_SCANCODE_A || (i > SDL_SCANCODE_EXSEL && i < SDL_SCANCODE_KP_00) ||
i > SDL_SCANCODE_KP_HEXADECIMAL) {
continue;
}

Expand Down

0 comments on commit 9627af2

Please sign in to comment.