inpcom.c, inp_fix_subckt(), use insert_new_line
This commit is contained in:
parent
95a28252f2
commit
25d512aa3e
|
|
@ -2195,11 +2195,7 @@ inp_fix_subckt(struct names *subckt_w_params, char *s)
|
||||||
|
|
||||||
beg = ptr2;
|
beg = ptr2;
|
||||||
|
|
||||||
c = xx_new_line(NULL, copy_substring(ptr1, ptr2), 0, 0);
|
c = last_param_card = insert_new_line(last_param_card, copy_substring(ptr1, ptr2), 0, 0);
|
||||||
|
|
||||||
if (last_param_card)
|
|
||||||
last_param_card->li_next = c;
|
|
||||||
last_param_card = c;
|
|
||||||
|
|
||||||
if (!first_param_card)
|
if (!first_param_card)
|
||||||
first_param_card = last_param_card;
|
first_param_card = last_param_card;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue