mirror of
git://projects.qi-hardware.com/cae-tools.git
synced 2024-12-22 23:59:34 +02:00
cameo/area.c (subordinates): fix trimming of list of subordinates
This commit is contained in:
parent
18c9477137
commit
fb117b20e5
@ -227,7 +227,7 @@ static const struct path **subordinates(const struct path *paths,
|
||||
for (a = sub; a != w; a++)
|
||||
for (b = sub; b != w; b++)
|
||||
if (a != b && is_inside(*a, *b)) {
|
||||
*a = *w--;
|
||||
*a = *--w;
|
||||
*w = NULL;
|
||||
a--;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user