From a8f215adbc079c97589dd3412426f29224f73bd3 Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Wed, 29 Jan 2020 19:52:32 +0100 Subject: Perfect --- src/ft_get_map_redo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ft_get_map_redo.c') diff --git a/src/ft_get_map_redo.c b/src/ft_get_map_redo.c index a621282..be6f987 100644 --- a/src/ft_get_map_redo.c +++ b/src/ft_get_map_redo.c @@ -43,12 +43,12 @@ ft_get_map_first_line(char *line, t_cub *clist) ft_memdel(line); return (-1); } + clist->map_w = ft_get_line_len(line); if (ft_check_map_line(line, 1, clist) < 0) { ft_memdel(line); return (-1); } - clist->map_w = ft_get_line_len(line); clist->mapl = NULL; if (ft_cat_mapl(line, 0, clist) < 0) { -- cgit v1.2.3