les stacks se sauvegardent dans solution
This commit is contained in:
@@ -12,7 +12,7 @@ t_list *sa(t_stack **stack, t_list **solution)
|
||||
tmp = a->n;
|
||||
a->n = a->next->n;
|
||||
a->next->n = tmp;
|
||||
fill_solution(stack, NULL, solution, ft_strdup("sa"));
|
||||
fill_solution(*stack, NULL, solution, ft_strdup("sa"));
|
||||
return (NULL);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user