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