From d7be99a2cd8d35862bba45322691004e146b673c Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Wed, 29 Jan 2020 18:32:31 +0100 Subject: Changed names --- src/ft_parse_map.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/ft_parse_map.c') diff --git a/src/ft_parse_map.c b/src/ft_parse_map.c index af11e2f..f51d531 100644 --- a/src/ft_parse_map.c +++ b/src/ft_parse_map.c @@ -73,10 +73,9 @@ ft_parse_it(int fd, t_cub *clist) ft_memdel(line); return (ft_map_error(clist)); } - ft_printf("%s\n", line); if ((ret = ft_select_get(words, clist)) == 12) { - if (ft_get_first_line(line, clist) < 0) + if (ft_get_map_first_line(line, clist) < 0) return (-1); return (12); } @@ -104,7 +103,7 @@ ft_parse_map(const char *map_path, t_cub *clist) if (ret == -1) ft_map_error(clist); clist->nsew = 0; - if (ft_get_map(fd, clist) < 0) + if (ft_get_map_core(fd, clist) < 0) ft_map_error(clist); ft_check_missing(clist); /* if (ft_get_tex(fd, clist) < 0) */ -- cgit v1.2.3