diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2022-09-23 04:17:44 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2022-09-23 04:17:44 +0200 |
| commit | c5fd231f522f56c28fd9f02879dda0e978385eb0 (patch) | |
| tree | 876881ae1d2a3ad480e655bb7d464f1f9fe63149 /src | |
| parent | 9a1b545e667036987f2bf2bb86966f941bfd384a (diff) | |
| download | jancity-c5fd231f522f56c28fd9f02879dda0e978385eb0.tar.gz | |
gui.c: Fix minor const-correctness issues
Diffstat (limited to 'src')
| -rw-r--r-- | src/gui/src/gui.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/src/gui.c b/src/gui/src/gui.c index 199b4a7..38e8565 100644 --- a/src/gui/src/gui.c +++ b/src/gui/src/gui.c @@ -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; |
