Compare commits

..

1 Commits

Author SHA1 Message Date
Tanguy MAZE
0b4c310374 modify map printing system
added functions to create, print and clear map when it's valid

corrected map del in print_map
2019-04-26 11:31:49 +02:00

View File

@@ -6,7 +6,7 @@
/* By: tmaze <tmaze@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/04/24 17:35:29 by tmaze #+# #+# */
/* Updated: 2019/04/24 18:09:57 by tmaze ### ########.fr */
/* Updated: 2019/04/26 11:29:53 by tmaze ### ########.fr */
/* */
/* ************************************************************************** */
@@ -35,7 +35,7 @@ void print_map(t_lmdata *data)
ft_printf("%s\n", it->line);
it = it->next;
}
del_map(&(data->map));
del_map(data);
}
int add_line_map(t_lmdata *data, char *line)