From 818e93aced8c273347f48dfc5dc1efe47384b0b7 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 28 Jan 2020 15:07:17 +0100 Subject: Wonderful my entier parsing is wrong --- src/ft_init_lists.c | 1 + src/ft_print_list.c | 1 + 2 files changed, 2 insertions(+) (limited to 'src') diff --git a/src/ft_init_lists.c b/src/ft_init_lists.c index 9e66e2e..5c14731 100644 --- a/src/ft_init_lists.c +++ b/src/ft_init_lists.c @@ -38,5 +38,6 @@ t_cub return (NULL); clist->map[1] = 0; clist->map_w = 0; + clist->line_chk = 0; return (clist); } diff --git a/src/ft_print_list.c b/src/ft_print_list.c index e48b2a2..4f67a88 100644 --- a/src/ft_print_list.c +++ b/src/ft_print_list.c @@ -22,4 +22,5 @@ ft_print_list(t_cub *clist) ft_printf("%2zu [%s]\n", i + 1, clist->map[i]); i++; } + ft_printf("Map width [%d]\n", clist->map_w); } -- cgit v1.2.3