mirror of
git://projects.qi-hardware.com/cae-tools.git
synced 2024-12-23 10:41:45 +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;
|
(*b)->last = (*a)->last;
|
||||||
free((*a)->first);
|
free((*a)->first);
|
||||||
tmp = *a;
|
tmp = *a;
|
||||||
*a = *b;
|
*a = tmp->next;
|
||||||
free(tmp);
|
free(tmp);
|
||||||
*b = (*b)->next;
|
|
||||||
goto again;
|
goto again;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user