diff options
author | Rudy Bousset <rbousset@z2r4p3.le-101.fr> | 2020-02-17 15:36:49 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r4p3.le-101.fr> | 2020-02-17 15:36:49 +0100 |
commit | e40442466e3f20f83a2d7755a6038bc3fc27fa8e (patch) | |
tree | 911145a592ac03a4dcdf9763f5708bec90a92382 /src/ft_check_map_line.c | |
parent | Map update (diff) | |
download | 42-cub3d-e40442466e3f20f83a2d7755a6038bc3fc27fa8e.tar.gz 42-cub3d-e40442466e3f20f83a2d7755a6038bc3fc27fa8e.tar.bz2 42-cub3d-e40442466e3f20f83a2d7755a6038bc3fc27fa8e.tar.xz 42-cub3d-e40442466e3f20f83a2d7755a6038bc3fc27fa8e.tar.zst 42-cub3d-e40442466e3f20f83a2d7755a6038bc3fc27fa8e.zip |
Norme
Diffstat (limited to '')
-rw-r--r-- | src/ft_check_map_line.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ft_check_map_line.c b/src/ft_check_map_line.c index b41d052..7ab2731 100644 --- a/src/ft_check_map_line.c +++ b/src/ft_check_map_line.c @@ -21,7 +21,7 @@ static int8_t if (!ft_ischarset("012NSEW ", line[i])) { ft_strlcpy(clist->errmsg, FT_ERR_ILL_MAP, - ft_strlen(FT_ERR_ILL_MAP) + 1); + ft_strlen(FT_ERR_ILL_MAP) + 1); return (-1); } if (ft_ischarset("NSEW", line[i])) @@ -29,7 +29,7 @@ static int8_t if (clist->mlist->isspawn > 1) { ft_strlcpy(clist->errmsg, FT_ERR_MULT_SPAWN, - ft_strlen(FT_ERR_MULT_SPAWN) + 1); + ft_strlen(FT_ERR_MULT_SPAWN) + 1); return (-1); } return (0); @@ -41,7 +41,7 @@ static int8_t if (!ft_ischarset("1 ", line[i])) { ft_strlcpy(clist->errmsg, FT_ERR_ILL_MAP, - ft_strlen(FT_ERR_ILL_MAP) + 1); + ft_strlen(FT_ERR_ILL_MAP) + 1); return (-1); } return (0); |