From de26c5ebb4c6e3f68fb0478b466b62331795124c Mon Sep 17 00:00:00 2001 From: Timo Schmidt Date: Sun, 19 Mar 2023 23:14:38 +0100 Subject: [PATCH] Change limits --- ex00/main.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ex00/main.c b/ex00/main.c index 9e07409..7dabb28 100644 --- a/ex00/main.c +++ b/ex00/main.c @@ -6,7 +6,7 @@ /* By: jtorrez- +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/03/18 20:15:26 by jtorrez- #+# #+# */ -/* Updated: 2023/03/19 19:30:51 by tischmid ### ########.fr */ +/* Updated: 2023/03/19 23:14:26 by tischmid ### ########.fr */ /* */ /* ************************************************************************** */ @@ -40,10 +40,10 @@ int main(int argc, char *argv[]) width = ft_atoi(argv[1]); height = ft_atoi(argv[2]); } - if (width < 0 || width > 200) - ft_putstr("Width must be in the range of 0 to 200\n"); - else if (height < 0 || height > 100) - ft_putstr("Height must be in the range of 0 to 100\n"); + if (width < 0 || width > 1000) + ft_putstr("Width must be in the range of 0 to 1000\n"); + else if (height < 0 || height > 1000) + ft_putstr("Height must be in the range of 0 to 1000\n"); else rush(width, height); return (0);