aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_select_get.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-09 15:10:56 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-09 15:10:56 +0100
commit427f42c41885c29d6859ebd947817af10ebb09ee (patch)
tree6b7c24066d49a412742cf08aabe574bbb38a5d90 /src/ft_select_get.c
parentPreparing to parse the darkness (diff)
download42-cub3d-427f42c41885c29d6859ebd947817af10ebb09ee.tar.gz
42-cub3d-427f42c41885c29d6859ebd947817af10ebb09ee.tar.bz2
42-cub3d-427f42c41885c29d6859ebd947817af10ebb09ee.tar.xz
42-cub3d-427f42c41885c29d6859ebd947817af10ebb09ee.tar.zst
42-cub3d-427f42c41885c29d6859ebd947817af10ebb09ee.zip
Best parser
Diffstat (limited to 'src/ft_select_get.c')
-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 64ba14b..2ed439c 100644
--- a/src/ft_select_get.c
+++ b/src/ft_select_get.c
@@ -80,7 +80,7 @@ static int8_t
ret = 0;
while (ft_strncmp(words[0], ref[ret], 3) && ref[ret][0])
ret++;
- if (ret == 11)
+ if (ret == 12)
ret = FT_PARSE_END_RET;
ret = ft_check_exists(ret, clist);
ret = ft_check_exists_two(ret, clist);