diff --git a/src/utils/pwm.c b/src/utils/pwm.c index cbec088..568696e 100644 --- a/src/utils/pwm.c +++ b/src/utils/pwm.c @@ -6,7 +6,7 @@ /* By: adelille +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2022/03/17 16:25:16 by adelille #+# #+# */ -/* Updated: 2022/03/17 19:12:48 by adelille ### ########.fr */ +/* Updated: 2024/06/16 13:51:05 by adelille ### ########.fr */ /* */ /* ************************************************************************** */ @@ -14,5 +14,5 @@ void pmw(t_env *e, const char *text) { - mvprintw((e->row - 1) / 2, (e->col - ft_strlen(text)) / 2, text); + mvprintw((e->row - 1) / 2, (e->col - ft_strlen(text)) / 2, "%s", text); }