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