aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_select_get.c
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-02-05 13:32:40 +0100
committerRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-02-05 13:32:40 +0100
commitd1097088999c538601158805cf77250d51513f98 (patch)
tree731f010c02189ff0df4530640a2d30e50160a80a /src/ft_select_get.c
parentScale (diff)
download42-cub3d-d1097088999c538601158805cf77250d51513f98.tar.gz
42-cub3d-d1097088999c538601158805cf77250d51513f98.tar.bz2
42-cub3d-d1097088999c538601158805cf77250d51513f98.tar.xz
42-cub3d-d1097088999c538601158805cf77250d51513f98.tar.zst
42-cub3d-d1097088999c538601158805cf77250d51513f98.zip
Don't mess with me boy
Diffstat (limited to '')
-rw-r--r--src/ft_select_get.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_select_get.c b/src/ft_select_get.c
index 3c14681..74cd000 100644
--- a/src/ft_select_get.c
+++ b/src/ft_select_get.c
@@ -21,7 +21,7 @@ ft_check_exists(const int8_t ret, t_cub *clist)
{
if (ret == 12)
return (12);
- if (ret == 0 && (clist->wlist->x_size != -1 || clist->wlist->y_size != -1))
+ if (ret == 0 && (clist->wlist->x_size != 0 || clist->wlist->y_size != 0))
return (-1);
else if (ret == 1 && (clist->no_tex_path[0]))
return (-1);