faire une limite pour line
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -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
@@ -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 */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user