1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-23 10:09:43 +01:00

Add braces around sub-object in unfocused_func_list

Clang warns on this. This doesn't fix anything but it does ensure that
whoever's reading it won't be focused as to whether or not omitting the
second set of braces is legal or not.
This commit is contained in:
Misa 2021-03-21 13:53:29 -07:00 committed by Ethan Lee
parent 02560ca6e5
commit 4a79f02842

View file

@ -242,8 +242,10 @@ static enum IndexCode increment_gamestate_func_index(void)
static void unfocused_run(void);
static const struct ImplFunc unfocused_func_list[] = {
Func_input, /* we still need polling when unfocused */
unfocused_run
{
Func_input, /* we still need polling when unfocused */
unfocused_run
}
};
static const struct ImplFunc* unfocused_funcs = unfocused_func_list;
static int num_unfocused_funcs = SDL_arraysize(unfocused_func_list);