From e29dd2fa3688e1e96a25af3b651da574af08aa90 Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Thu, 13 Feb 2020 19:42:05 +0100 Subject: Splited structs --- src/ft_select_get.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/ft_select_get.c') diff --git a/src/ft_select_get.c b/src/ft_select_get.c index 76f424d..9c2bcbf 100644 --- a/src/ft_select_get.c +++ b/src/ft_select_get.c @@ -23,15 +23,15 @@ static int8_t return (12); if (ret == 0 && (clist->wlist->x_size != 0 || clist->wlist->y_size != 0)) return (-1); - else if (ret == 1 && (clist->no_tex_path[0])) + else if (ret == 1 && (clist->mlist->no_tex_path[0])) return (-1); - else if (ret == 2 && (clist->so_tex_path[0])) + else if (ret == 2 && (clist->mlist->so_tex_path[0])) return (-1); - else if (ret == 3 && (clist->ea_tex_path[0])) + else if (ret == 3 && (clist->mlist->ea_tex_path[0])) return (-1); - else if (ret == 4 && (clist->we_tex_path[0])) + else if (ret == 4 && (clist->mlist->we_tex_path[0])) return (-1); - else if (ret == 5 && (clist->sprite_path[0])) + else if (ret == 5 && (clist->mlist->sprite_path[0])) return (-1); else if (ret == 6 && ((clist->f_rgb.r != -1) || (clist->f_rgb.g != -1) || (clist->f_rgb.b != -1))) -- cgit v1.2.3