wrong output for 1 ttrmn
This commit is contained in:
parent
c79d2bbea0
commit
12fc9b3108
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue