aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-06 22:10:12 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-06 22:10:12 +0100
commite401d5be6d2625bdb992b727117fb10a3edc050a (patch)
treee59cfb817f4cd0451bf4d6e95c8d5bc053b90da4 /src
parentBack to when it worked (diff)
download42-cub3d-e401d5be6d2625bdb992b727117fb10a3edc050a.tar.gz
42-cub3d-e401d5be6d2625bdb992b727117fb10a3edc050a.tar.bz2
42-cub3d-e401d5be6d2625bdb992b727117fb10a3edc050a.tar.xz
42-cub3d-e401d5be6d2625bdb992b727117fb10a3edc050a.tar.zst
42-cub3d-e401d5be6d2625bdb992b727117fb10a3edc050a.zip
qwe
Diffstat (limited to 'src')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index b55e051..43b482a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -15,7 +15,7 @@
#include <cub3d.h>
int
- main(int argc, const char *argv[])
+ main(int argc, const char *argv[], char *const envp[])
{
t_cub clist;
@@ -27,6 +27,6 @@ int
if (ft_init_winlx(&clist) < 0)
return (ft_exit(FT_RET_FAILED_MLX, &clist));
ft_wall_tex_init(&clist);
- ft_use_args(argc, argv, &clist);
+ ft_use_args(argc, argv, envp, &clist);
return (FT_RET_FINE);
}