mirror of
git://projects.qi-hardware.com/cae-tools.git
synced 2024-12-23 00:34:16 +02:00
cameo/path.c (path_connect): corrected logic when merging B->A
This commit is contained in:
parent
ee3a3e6162
commit
4b717cadc6
@ -388,9 +388,8 @@ again:
|
||||
(*b)->last = (*a)->last;
|
||||
free((*a)->first);
|
||||
tmp = *a;
|
||||
*a = *b;
|
||||
*a = tmp->next;
|
||||
free(tmp);
|
||||
*b = (*b)->next;
|
||||
goto again;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user