inpcom.c, inp_chk_for_multi_in_vcvs(), drop 'next_card', deploy its value temporarily in the new line li_next slot

This commit is contained in:
rlar 2017-04-21 20:57:06 +02:00
parent fb4722ffca
commit 8d2f63107d
1 changed files with 2 additions and 3 deletions

View File

@ -1351,9 +1351,8 @@ inp_chk_for_multi_in_vcvs(struct line *c, int *line_number)
tfree(xy_values2[1]);
*c->li_line = '*';
next_card = c->li_next;
c = c->li_next = xx_new_line(NULL, m_instance, (*line_number)++, 0);
model_card = xx_new_line(next_card, m_model, (*line_number)++, 0);
c = c->li_next = xx_new_line(c->li_next, m_instance, (*line_number)++, 0);
model_card = xx_new_line(c->li_next, m_model, (*line_number)++, 0);
c->li_next = model_card;
// skip these two new cards
c = model_card;