diff options
-rw-r--r-- | src/ft_select_get.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |