diff options
author | Rudy Bousset <rbousset@z2r5p2.le-101.fr> | 2020-02-22 20:55:23 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r5p2.le-101.fr> | 2020-02-22 20:55:23 +0100 |
commit | 8a4e61b81568aeff290df59e371c99724728ce4a (patch) | |
tree | eb3528688a76c09df091bfda01f4c68a7680b36c /src/ft_get_res.c | |
parent | Drawing some HUD (diff) | |
download | 42-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.c | 4 |
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); |