Norminette errors

This commit is contained in:
Angel Ortigosa Perez
2026-01-11 16:05:52 +01:00
parent 09f2b2ccb0
commit 7dcca2a786
6 changed files with 22 additions and 20 deletions

View File

@@ -6,7 +6,7 @@
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/12/04 09:28:05 by aortigos #+# #+# */
/* Updated: 2025/12/15 10:27:21 by aortigos ### ########.fr */
/* Updated: 2026/01/11 16:04:46 by aortigos ### ########.fr */
/* */
/* ************************************************************************** */
@@ -67,7 +67,8 @@ int read_map_(t_data *map, int count)
if (!map->map2d)
return (ft_memfree(map->map), 0);
ft_memfree(map->map);
if (!check_tures_space_tab(map->texture2d, count) || !parse_rgb(map->texture2d)
if (!check_tures_space_tab(map->texture2d, count)
|| !parse_rgb(map->texture2d)
|| !check_dup(map) || !check_first_last_line(map->map2d)
|| !surrounded_by_one(map->map2d))
return (free2d(map->map2d), 0);