diff --git a/input.c b/input.c index b336d91..45168e0 100644 --- a/input.c +++ b/input.c @@ -6,7 +6,7 @@ /* By: mcolonna +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/10/17 14:43:36 by mcolonna #+# #+# */ -/* Updated: 2024/10/17 15:00:54 by mcolonna ### ########.fr */ +/* Updated: 2024/10/17 16:05:50 by mcolonna ### ########.fr */ /* */ /* ************************************************************************** */ @@ -30,13 +30,13 @@ static void set_action(int keycode, bool value) g_input_actions.quit = value; } -int keypress(int keycode) +int keypress(int keycode) { set_action(keycode, true); return (0); } -int keyrelease(int keycode) +int keyrelease(int keycode) { set_action(keycode, false); return (0); diff --git a/map_utils1.c b/map_utils1.c index 68cadee..4e12115 100644 --- a/map_utils1.c +++ b/map_utils1.c @@ -6,7 +6,7 @@ /* By: mcolonna +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/10/03 15:02:09 by mc #+# #+# */ -/* Updated: 2024/10/17 15:59:15 by mcolonna ### ########.fr */ +/* Updated: 2024/10/17 16:09:31 by mcolonna ### ########.fr */ /* */ /* ************************************************************************** */ @@ -36,8 +36,7 @@ bool read_color_parameter(const char *name, t_color *dest, if (!err && *dest != 0xFF000000) { *redefined = true; - write_err("Parameter '", name, "' was defined several times\n", - NULL); + write_err("Parameter '", name, "' was defined several times\n", NULL); } else if (!err) *dest = color_from_rgb(rgb[0], rgb[1], rgb[2]);