From 8a4e61b81568aeff290df59e371c99724728ce4a Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Sat, 22 Feb 2020 20:55:23 +0100 Subject: Perfect --- src/ft_get_res.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ft_get_res.c') 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); -- cgit v1.2.3