1
0
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:
Werner Almesberger 2012-03-19 01:02:19 -03:00
parent 18c9477137
commit fb117b20e5

View File

@ -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;