From 95670611b3636932b6e64c3e485a4e4bf40d8b07 Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Sun, 2 Feb 2020 18:12:45 +0100 Subject: Norme again --- src/ft_init_winlx.c | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'src/ft_init_winlx.c') diff --git a/src/ft_init_winlx.c b/src/ft_init_winlx.c index 5706685..b9c714e 100644 --- a/src/ft_init_winlx.c +++ b/src/ft_init_winlx.c @@ -1,10 +1,23 @@ +/* ************************************************************************** */ +/* LE - / */ +/* / */ +/* ft_init_winlx.c .:: .:/ . .:: */ +/* +:+:+ +: +: +:+:+ */ +/* By: rbousset +:+ +: +: +:+ */ +/* #+# #+ #+ #+# */ +/* Created: 2020/02/02 17:19:29 by rbousset #+# ## ## #+# */ +/* Updated: 2020/02/02 17:19:29 by rbousset ### #+. /#+ ###.fr */ +/* / */ +/* / */ +/* ************************************************************************** */ + #include #include #include #include int -ft_init_winlx(t_cub *clist) + ft_init_winlx(t_cub *clist) { ft_memdel((void**)&clist->wlist->wlx); if (!(clist->wlist->wlx = mlx_init())) @@ -15,6 +28,6 @@ ft_init_winlx(t_cub *clist) return (-1); clist->wlist->inited = 1; ft_printf("Created window of size %dx%d\n", - clist->wlist->x_size, clist->wlist->y_size); + clist->wlist->x_size, clist->wlist->y_size); return (0); } -- cgit v1.2.3