gui.c: Fix minor const-correctness issues
This commit is contained in:
parent
d989dc6f49
commit
68ccd085fc
|
@ -81,7 +81,7 @@ static bool check_collision(const struct gui_common *const g,
|
||||||
bool gui_pressed(const struct gui_common *const g,
|
bool gui_pressed(const struct gui_common *const g,
|
||||||
const struct input *const in,
|
const struct input *const in,
|
||||||
const union peripheral *const p,
|
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)
|
if (g->hidden)
|
||||||
return false;
|
return false;
|
||||||
|
@ -110,7 +110,7 @@ bool gui_pressed(const struct gui_common *const g,
|
||||||
|
|
||||||
bool gui_released(const struct gui_common *const g,
|
bool gui_released(const struct gui_common *const g,
|
||||||
const union peripheral *const p,
|
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)
|
if (g->hidden)
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue