rename window fdf

This commit is contained in:
hugogogo
2021-07-25 14:24:05 +02:00
parent a429813165
commit e4b4f5e751
8 changed files with 3 additions and 1 deletions

View File

@@ -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);