From fd019b4afd41cff265a8a97e9547283523ae2291 Mon Sep 17 00:00:00 2001 From: Tim Edwards Date: Mon, 15 May 2017 16:29:12 -0400 Subject: [PATCH] Corrected the same error as a few commits back that causes a message about property errors to show up, not due to property errors, but due to proxy pins being inserted in the middle of a device record. However, the first one was fixed for the case of proxy pins being added to circuit 1, but the same fix was not made for the opposite case of proxy pins being added to circuit 2. This commit corrects that omission. --- base/netcmp.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/base/netcmp.c b/base/netcmp.c index 8a92bd4..ca774ab 100644 --- a/base/netcmp.c +++ b/base/netcmp.c @@ -6661,8 +6661,15 @@ int MatchPins(struct nlist *tc1, struct nlist *tc2, int dolist) obn->model.port = (i - j); obn->instance.name = NULL; obn->node = -1; - obn->next = ob2->next; - ob2->next = obn; + + if (ob2 == tc2->cell) { + obn->next = ob2; + tc2->cell = obn; + } + else { + obn->next = ob2->next; + ob2->next = obn; + } ob2 = obn; hasproxy2 = 1;