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> +#+ +:+ +#+ */ /* By: yantoine <yantoine@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2025/02/14 01:41:17 by yantoine #+# #+# */ /* 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); line = get_next_line(fd);
if (!line) if (!line)
break ; break ;
printf("line: %s\n", line);
scene = parsing_line(line, scene); scene = parsing_line(line, scene);
free(line); free(line);
} }
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -6,7 +6,7 @@
/* By: yantoine <yantoine@student.42.fr> +#+ +:+ +#+ */ /* By: yantoine <yantoine@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2025/02/15 19:39:08 by yantoine #+# #+# */ /* Created: 2025/02/15 19:39:08 by yantoine #+# #+# */
/* Updated: 2025/02/19 16:49:57 by yantoine ### ########.fr */ /* Updated: 2025/02/25 02:46:28 by yantoine ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
+1 -1
View File
@@ -6,7 +6,7 @@
/* By: yantoine <yantoine@student.42.fr> +#+ +:+ +#+ */ /* By: yantoine <yantoine@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2025/02/14 20:23:21 by yantoine #+# #+# */ /* Created: 2025/02/14 20:23:21 by yantoine #+# #+# */
/* Updated: 2025/02/25 02:40:01 by yantoine ### ########.fr */ /* Updated: 2025/02/25 02:46:24 by yantoine ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */