mirror of
git://projects.qi-hardware.com/cae-tools.git
synced 2025-01-09 01:20:15 +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 (a = sub; a != w; a++)
|
||||||
for (b = sub; b != w; b++)
|
for (b = sub; b != w; b++)
|
||||||
if (a != b && is_inside(*a, *b)) {
|
if (a != b && is_inside(*a, *b)) {
|
||||||
*a = *w--;
|
*a = *--w;
|
||||||
*w = NULL;
|
*w = NULL;
|
||||||
a--;
|
a--;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user