aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_get_res.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ft_get_res.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ft_get_res.c b/src/ft_get_res.c
index 8607f62..dece00f 100644
--- a/src/ft_get_res.c
+++ b/src/ft_get_res.c
@@ -48,8 +48,8 @@ int8_t
return (-1);
wlist->x_size = ft_atoi(words[1]);
wlist->y_size = ft_atoi(words[2]);
- if (wlist->x_size <= 1
- || wlist->y_size <= 1)
+ if (wlist->x_size <= 10
+ || wlist->y_size <= 10)
{
ft_strlcpy(clist->errmsg, FT_ERR_RES_SMALL,
ft_strlen(FT_ERR_RES_SMALL) + 1);