From d1097088999c538601158805cf77250d51513f98 Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Wed, 5 Feb 2020 13:32:40 +0100 Subject: Don't mess with me boy --- src/ft_check_missing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ft_check_missing.c') diff --git a/src/ft_check_missing.c b/src/ft_check_missing.c index 32e2943..325af54 100644 --- a/src/ft_check_missing.c +++ b/src/ft_check_missing.c @@ -35,7 +35,7 @@ int return (ft_missing_error("east side texture", clist)); else if (!clist->we_tex_path[0]) return (ft_missing_error("west side texture", clist)); - else if (clist->wlist->x_size < 0 || clist->wlist->y_size < 0) + else if (clist->wlist->x_size == 0 || clist->wlist->y_size == 0) return (ft_missing_error("resolution", clist)); else if (clist->f_color < 0) return (ft_missing_error("floor color", clist)); -- cgit v1.2.3