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:
parent
02560ca6e5
commit
4a79f02842
1 changed files with 4 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue