From ce43b1cd1caa539af687425f58a6999a20807878 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 3 Mar 2020 16:14:26 +0100 Subject: Going full stack is bav --- src/ft_treat_args.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ft_treat_args.c') diff --git a/src/ft_treat_args.c b/src/ft_treat_args.c index f850fc6..2571709 100644 --- a/src/ft_treat_args.c +++ b/src/ft_treat_args.c @@ -37,9 +37,9 @@ uint8_t if (ft_init_winptr(clist) < 0) return (ft_exit(FT_RET_FAILED_MLX, clist)); ft_draw_scene(clist); - if (clist.mlist.ismusic) - pthread_create(&clist.tid, NULL, ft_music_thread, clist); - ft_hooks_and_loops(clist.wlist, clist); + if (clist->mlist.ismusic) + pthread_create(&clist->tid, NULL, ft_music_thread, clist); + ft_hooks_and_loops(&clist->wlist, clist); } else if (argc == 3 && !ft_strncmp("--save", argv[2], 7)) { -- cgit v1.2.3