aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_parse_map.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-02 00:56:03 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-02 00:56:03 +0100
commitd812df80d26f879d4d49ec45453866574e995839 (patch)
treed6c143d0356d72a4274dc125e354b4e51acf0f4b /src/ft_parse_map.c
parentin progress (diff)
download42-cub3d-d812df80d26f879d4d49ec45453866574e995839.tar.gz
42-cub3d-d812df80d26f879d4d49ec45453866574e995839.tar.bz2
42-cub3d-d812df80d26f879d4d49ec45453866574e995839.tar.xz
42-cub3d-d812df80d26f879d4d49ec45453866574e995839.tar.zst
42-cub3d-d812df80d26f879d4d49ec45453866574e995839.zip
trying to thread
Diffstat (limited to 'src/ft_parse_map.c')
-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 75eb403..48201fd 100644
--- a/src/ft_parse_map.c
+++ b/src/ft_parse_map.c
@@ -61,7 +61,7 @@ static int8_t
ft_memdel((void**)&line);
return (ft_parse_it(fd, clist));
}
- if (!ft_ischarset("RNSEWFCL1\0", line[0])
+ if (!ft_ischarset("RNSEWFCLM1\0", line[0])
|| !(words = ft_split(line, ' ')))
return (ft_error_here(FT_ERR_ILL_ENTRY, line, clist));
if ((ret = ft_select_get(words, clist)) == 12)