diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2022-09-20 13:51:08 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2022-09-20 13:51:08 +0200 |
| commit | ee37be47b9be42fac8e7a23ba48df1d074004426 (patch) | |
| tree | 6fd7812c6c5d54ec54b860d50840daf0d2b84637 /src | |
| parent | 244ddd07c12c2024386f10731c7d1ea87604a454 (diff) | |
Minor code style fixes
Diffstat (limited to 'src')
| -rw-r--r-- | src/menu/src/gamecfg_menu.c | 2 | ||||
| -rw-r--r-- | src/menu/src/menu.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/menu/src/gamecfg_menu.c b/src/menu/src/gamecfg_menu.c index 9fc3873..2cdd48f 100644 --- a/src/menu/src/gamecfg_menu.c +++ b/src/menu/src/gamecfg_menu.c @@ -77,10 +77,8 @@ int menu_gamecfg(struct menu_common *const c) gui_add_child(&m.bcnt.common, &m.back.common); while (!back && !c->p.common.exit && !start) - { if (menu_update(c, update, render, &m)) return -1; - } if (start) return game(NULL); diff --git a/src/menu/src/menu.c b/src/menu/src/menu.c index a8df6e9..200023c 100644 --- a/src/menu/src/menu.c +++ b/src/menu/src/menu.c @@ -66,7 +66,7 @@ int menu(void) struct menu_common c = {0}; if (game_resinit()) - return -1; + return -1; cursor_init(&c.cam.cursor); peripheral_init(&cfg, &c.p); |
