aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-01-28 16:07:12 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-01-28 16:07:12 +0100
commita895ea9a8af285eb837d351e2c7d88472ef6bbfb (patch)
treeb014d51bd946d5f20fac63a498b33ee3ff03bc6c
parentWe can make it (diff)
download42-cub3d-a895ea9a8af285eb837d351e2c7d88472ef6bbfb.tar.gz
42-cub3d-a895ea9a8af285eb837d351e2c7d88472ef6bbfb.tar.bz2
42-cub3d-a895ea9a8af285eb837d351e2c7d88472ef6bbfb.tar.xz
42-cub3d-a895ea9a8af285eb837d351e2c7d88472ef6bbfb.tar.zst
42-cub3d-a895ea9a8af285eb837d351e2c7d88472ef6bbfb.zip
Bug fix
Diffstat (limited to '')
-rw-r--r--src/ft_select_get.c2
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));