aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_exit.c')
-rw-r--r--src/ft_exit.c17
1 files changed, 15 insertions, 2 deletions
diff --git a/src/ft_exit.c b/src/ft_exit.c
index 6631c34..1e926ce 100644
--- a/src/ft_exit.c
+++ b/src/ft_exit.c
@@ -1,3 +1,16 @@
+/* ************************************************************************** */
+/* LE - / */
+/* / */
+/* ft_exit.c .:: .:/ . .:: */
+/* +:+:+ +: +: +:+:+ */
+/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */
+/* #+# #+ #+ #+# */
+/* Created: 2020/02/02 17:19:23 by rbousset #+# ## ## #+# */
+/* Updated: 2020/02/02 17:19:23 by rbousset ### #+. /#+ ###.fr */
+/* / */
+/* / */
+/* ************************************************************************** */
+
#include <libft.h>
#include <cub3d.h>
#include <mlx.h>
@@ -6,7 +19,7 @@
#include <inttypes.h>
static void
-ft_free_lists(t_cub *clist)
+ ft_free_lists(t_cub *clist)
{
ft_memdel((void**)&clist->no_tex_path);
ft_memdel((void**)&clist->so_tex_path);
@@ -23,7 +36,7 @@ ft_free_lists(t_cub *clist)
}
int
-ft_exit(uint8_t exit_code, t_cub *clist)
+ ft_exit(uint8_t exit_code, t_cub *clist)
{
if (clist->wlist->inited)
mlx_destroy_window(clist->wlist->wlx, clist->wlist->winptr);