blob: 0970936094a189805c203e8718a02e50c447ec64 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include <libft.h>
#include <cub3d.h>
#include <unistd.h>
int
ft_map_error(t_cub *clist)
{
ft_dprintf(STDERR_FILENO, "Error\n");
ft_dprintf(STDERR_FILENO,
"\033[1;31mMap error: line %zu\033[0m\n", clist->line_chk);
return (ft_exit(1, clist));
}
|