diff options
Diffstat (limited to 'src/ft_click_close.c')
-rw-r--r-- | src/ft_click_close.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ft_click_close.c b/src/ft_click_close.c index 84f5270..db3b2e2 100644 --- a/src/ft_click_close.c +++ b/src/ft_click_close.c @@ -19,8 +19,8 @@ int ft_click_close(int keycode, t_cub *clist) { + (void)clist; ft_printf("Button [%d] pressed\n", keycode); - clist->wlist->inited = 0; - ft_free_lists(clist); - return (exit(0)); + exit(0); + return (0); } |