diff options
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); |