From a26b79041bf2c432587ca69db3b3220c7ca0ca47 Mon Sep 17 00:00:00 2001 From: werner Date: Fri, 27 Nov 2009 23:31:03 +0000 Subject: [PATCH] - 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 --- inst.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/inst.c b/inst.c index 2933467..84c7b30 100644 --- a/inst.c +++ b/inst.c @@ -226,13 +226,13 @@ int inst_select(struct coord pos) } } } - if (select_next) { - selected_inst = next ? next : first; - goto selected; - } - if (selected_inst) - goto selected; } + if (select_next) { + selected_inst = next ? next : first; + goto selected; + } + if (selected_inst) + goto selected; /* give vectors a second chance */