From 9627af26df6897b141f269435156acff43a941dd Mon Sep 17 00:00:00 2001 From: Andrew Thompson Date: Tue, 25 Jun 2024 10:42:28 -0700 Subject: [PATCH] clang format --- src/game/scenes/mainmenu/menu_presskey.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/game/scenes/mainmenu/menu_presskey.c b/src/game/scenes/mainmenu/menu_presskey.c index 4cd9e9672..4ac1c4970 100644 --- a/src/game/scenes/mainmenu/menu_presskey.c +++ b/src/game/scenes/mainmenu/menu_presskey.c @@ -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; }