aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_init_lists.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ft_init_lists.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ft_init_lists.c b/src/ft_init_lists.c
index 1b4ab59..f9c5c6c 100644
--- a/src/ft_init_lists.c
+++ b/src/ft_init_lists.c
@@ -14,6 +14,9 @@ t_win
if (!(wlist->wlx = ft_calloc(1, 1)) ||
!(wlist->winptr = ft_calloc(1, 1)))
return (NULL);
+ wlist->inited = 0;
+ wlist->x_size = 0;
+ wlist->y_size = 0;
return (wlist);
}
@@ -38,6 +41,6 @@ t_cub
return (NULL);
clist->map[1] = 0;
clist->map_w = 0;
- clist->line_chk = 1;
+ clist->line_chk = 0;
return (clist);
}