gui.c: Fix minor const-correctness issues

This commit is contained in:
Xavier Del Campo Romero 2022-09-23 04:17:44 +02:00
parent d989dc6f49
commit 68ccd085fc
1 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@ static bool check_collision(const struct gui_common *const g,
bool gui_pressed(const struct gui_common *const g,
const struct input *const in,
const union peripheral *const p,
const struct camera *cam, const short w, const short h)
const struct camera *const cam, const short w, const short h)
{
if (g->hidden)
return false;
@ -110,7 +110,7 @@ bool gui_pressed(const struct gui_common *const g,
bool gui_released(const struct gui_common *const g,
const union peripheral *const p,
const struct camera *cam, const short w, const short h)
const struct camera *const cam, const short w, const short h)
{
if (g->hidden)
return false;