From 0c2bb0f610c0af0680b46fc4566a207d59781e4d Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Mon, 27 Jan 2020 19:20:28 +0100 Subject: Switched lists entierly --- src/ft_init_lists.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ft_init_lists.c') diff --git a/src/ft_init_lists.c b/src/ft_init_lists.c index b395840..3554e5e 100644 --- a/src/ft_init_lists.c +++ b/src/ft_init_lists.c @@ -37,5 +37,6 @@ t_cub if (!(clist->map[0] = (char*)ft_calloc(1, sizeof(char)))) return (NULL); clist->map[1] = 0; + clist->map_width = 0; return (clist); } -- cgit v1.2.3