diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-06 21:03:07 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-06 21:03:07 +0100 |
commit | 874d8d3bbafb3d1919cfc6f21fdb780382f0d015 (patch) | |
tree | 6e1f455634bb1b5810e50e2c6e9e3515954ccf29 /src/main.c | |
parent | Fuck execve (diff) | |
download | 42-cub3d-874d8d3bbafb3d1919cfc6f21fdb780382f0d015.tar.gz 42-cub3d-874d8d3bbafb3d1919cfc6f21fdb780382f0d015.tar.bz2 42-cub3d-874d8d3bbafb3d1919cfc6f21fdb780382f0d015.tar.xz 42-cub3d-874d8d3bbafb3d1919cfc6f21fdb780382f0d015.tar.zst 42-cub3d-874d8d3bbafb3d1919cfc6f21fdb780382f0d015.zip |
boy
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } |