faire une limite pour line

This commit is contained in:
H3XploR
2025-02-25 02:47:43 +01:00
parent 1faa437fd2
commit 1a63705a51
4 changed files with 3 additions and 4 deletions
+1 -2
View File
@@ -6,7 +6,7 @@
/* By: yantoine <yantoine@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/02/14 01:41:17 by yantoine #+# #+# */
/* Updated: 2025/02/25 01:35:19 by yantoine ### ########.fr */
/* Updated: 2025/02/25 02:46:22 by yantoine ### ########.fr */
/* */
/* ************************************************************************** */
@@ -54,7 +54,6 @@ t_scene load_config(const char *filename)
line = get_next_line(fd);
if (!line)
break ;
printf("line: %s\n", line);
scene = parsing_line(line, scene);
free(line);
}