rename window fdf
This commit is contained in:
@@ -14,6 +14,8 @@ int **split_to_map(t_fdf *fdf, char *raw)
|
||||
int j;
|
||||
int **map;
|
||||
|
||||
if (fdf->map_height == 0)
|
||||
shut_down(fdf);
|
||||
map = ft_calloc(fdf->map_height, sizeof(map));
|
||||
if (!map)
|
||||
shut_down(fdf);
|
||||
|
||||
Reference in New Issue
Block a user