aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_get_res.c
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r5p2.le-101.fr>2020-02-22 20:55:23 +0100
committerRudy Bousset <rbousset@z2r5p2.le-101.fr>2020-02-22 20:55:23 +0100
commit8a4e61b81568aeff290df59e371c99724728ce4a (patch)
treeeb3528688a76c09df091bfda01f4c68a7680b36c /src/ft_get_res.c
parentDrawing some HUD (diff)
download42-cub3d-8a4e61b81568aeff290df59e371c99724728ce4a.tar.gz
42-cub3d-8a4e61b81568aeff290df59e371c99724728ce4a.tar.bz2
42-cub3d-8a4e61b81568aeff290df59e371c99724728ce4a.tar.xz
42-cub3d-8a4e61b81568aeff290df59e371c99724728ce4a.tar.zst
42-cub3d-8a4e61b81568aeff290df59e371c99724728ce4a.zip
Perfect
Diffstat (limited to 'src/ft_get_res.c')
-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);