aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_parse_map.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-04 02:14:19 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-04 02:14:19 +0100
commitaf4075e546ecc25f0572099e95472c10e9a93f2b (patch)
tree2edaa3f0832a5b27d42c716bf92ec8f0c7bdd3b6 /src/ft_parse_map.c
parentThe surrounds (diff)
download42-cub3d-af4075e546ecc25f0572099e95472c10e9a93f2b.tar.gz
42-cub3d-af4075e546ecc25f0572099e95472c10e9a93f2b.tar.bz2
42-cub3d-af4075e546ecc25f0572099e95472c10e9a93f2b.tar.xz
42-cub3d-af4075e546ecc25f0572099e95472c10e9a93f2b.tar.zst
42-cub3d-af4075e546ecc25f0572099e95472c10e9a93f2b.zip
chek
Diffstat (limited to '')
-rw-r--r--src/ft_parse_map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_parse_map.c b/src/ft_parse_map.c
index eb62f3f..2d5590e 100644
--- a/src/ft_parse_map.c
+++ b/src/ft_parse_map.c
@@ -65,7 +65,7 @@ static int8_t
}
if (ft_ischarset("1 ", line[0]))
return ((ft_get_map_first_line(line, clist) < 0) ? (-1) : (12));
- if (!ft_ischarset("RNSEWFCLM\0", line[0])
+ if (!ft_ischarset("RNSEWFCLM", line[0])
|| !(words = ft_split(line, ' ')))
return (ft_error_here(FT_ERR_ILL_ENTRY, line, clist));
if ((ret = ft_select_get(words, clist)) == 12)