From e6c0ddf23847b86753d2db65d4d9c47b283715ed Mon Sep 17 00:00:00 2001 From: rlar Date: Thu, 20 Apr 2017 17:41:13 +0200 Subject: [PATCH] inpcom.c, inp_chk_for_multi_in_vcvs(), xx_new_line() shall fill the li_next slot --- src/frontend/inpcom.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/frontend/inpcom.c b/src/frontend/inpcom.c index e7c8ef88c..179b85fd3 100644 --- a/src/frontend/inpcom.c +++ b/src/frontend/inpcom.c @@ -1354,9 +1354,8 @@ inp_chk_for_multi_in_vcvs(struct line *c, int *line_number) next_card = c->li_next; a_card = xx_new_line(NULL, m_instance, (*line_number)++, 0); c->li_next = a_card; - model_card = xx_new_line(NULL, m_model, (*line_number)++, 0); + model_card = xx_new_line(next_card, m_model, (*line_number)++, 0); a_card->li_next = model_card; - model_card->li_next = next_card; // skip these two new cards c = model_card; }