aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_get_darkness.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ft_get_darkness.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_get_darkness.c b/src/ft_get_darkness.c
index 7f1bc00..14a9f00 100644
--- a/src/ft_get_darkness.c
+++ b/src/ft_get_darkness.c
@@ -39,7 +39,7 @@ int8_t
}
if (ft_checkdigit(words[1], clist))
return (-1);
- if (ft_atoi(words[1]) < 0 || ft_atoi(words[1]) > 10)
+ if (ft_atoi(words[1]) < 0 || ft_atoi(words[1]) > 20)
{
ft_sprintf(clist->errmsg, FT_ERR_SH_RANGE);
return (-1);