From a895ea9a8af285eb837d351e2c7d88472ef6bbfb Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 28 Jan 2020 16:07:12 +0100 Subject: Bug fix --- src/ft_select_get.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ft_select_get.c b/src/ft_select_get.c index 8e661cb..25320d7 100644 --- a/src/ft_select_get.c +++ b/src/ft_select_get.c @@ -22,7 +22,7 @@ ft_select_get(char **words, t_cub *clist) fun_ptr[1] = ft_get_tex; if ((id = ft_get_id(words)) == 12) return (12); - if (|| (*fun_ptr[id])(words, clist) < 0) + if ((*fun_ptr[id])(words, clist) < 0) { ft_free_words(words); return (ft_map_error(clist)); -- cgit v1.2.3