diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ft_init_lists.c | 1 | ||||
-rw-r--r-- | src/ft_print_list.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/ft_init_lists.c b/src/ft_init_lists.c index 9e66e2e..5c14731 100644 --- a/src/ft_init_lists.c +++ b/src/ft_init_lists.c @@ -38,5 +38,6 @@ t_cub return (NULL); clist->map[1] = 0; clist->map_w = 0; + clist->line_chk = 0; return (clist); } diff --git a/src/ft_print_list.c b/src/ft_print_list.c index e48b2a2..4f67a88 100644 --- a/src/ft_print_list.c +++ b/src/ft_print_list.c @@ -22,4 +22,5 @@ ft_print_list(t_cub *clist) ft_printf("%2zu [%s]\n", i + 1, clist->map[i]); i++; } + ft_printf("Map width [%d]\n", clist->map_w); } |