Fix switch-case style

Remove unnecessary braces around the switch case and add the missing
break to keep the style consistent with other cases.
This commit is contained in:
Romain Vimont
2026-02-03 19:10:14 +01:00
parent a9de53f0cb
commit 1a99a46b57

View File

@@ -1166,8 +1166,8 @@ sc_input_manager_handle_event(struct sc_input_manager *im,
case SDL_EVENT_GAMEPAD_BUTTON_UP:
sc_input_manager_process_gamepad_button(im, &event->gbutton);
break;
case SDL_EVENT_DROP_FILE: {
case SDL_EVENT_DROP_FILE:
sc_input_manager_process_file(im, &event->drop);
}
break;
}
}