diff --git a/inc/fillit.h b/inc/fillit.h index f26a3f0..c6d3ce9 100644 --- a/inc/fillit.h +++ b/inc/fillit.h @@ -107,6 +107,6 @@ int get_amount(char **ttr); unsigned int ft_sqrt_ceil(unsigned int num); -void fill_map(char *map, int size, t_node *ttr, int letter); +void fill_map(char *map, int size, t_node *ttr, int letter); #endif diff --git a/src/dancing_links.c b/src/dancing_links.c index 877c7ec..fbb962e 100644 --- a/src/dancing_links.c +++ b/src/dancing_links.c @@ -205,6 +205,11 @@ void fill_map(char *map, int size, t_node *ttr, int letter) void print_solution(t_list *sol, t_node *root, int amount) { + // doesn't work for one ttr + // if ttr has dimensions 3x2 + // output square must be 3x3 + // but func print 4x4 + char *map; int i; int map_size;