1
0
mirror of git://projects.qi-hardware.com/fped.git synced 2024-11-26 05:46:16 +02:00

- inst.c (inst_select): cycle through instances globally, not only within the

same priority



git-svn-id: http://svn.openmoko.org/trunk/eda/fped@5716 99fdad57-331a-0410-800a-d7fa5415bdb3
This commit is contained in:
werner 2009-11-27 23:31:03 +00:00
parent 1daa0068d5
commit a26b79041b

2
inst.c
View File

@ -226,13 +226,13 @@ int inst_select(struct coord pos)
} }
} }
} }
}
if (select_next) { if (select_next) {
selected_inst = next ? next : first; selected_inst = next ? next : first;
goto selected; goto selected;
} }
if (selected_inst) if (selected_inst)
goto selected; goto selected;
}
/* give vectors a second chance */ /* give vectors a second chance */