inpcom.c, inp_fix_subckt(), #1/4, rewrite 'append'
This commit is contained in:
parent
e75f48d91f
commit
dda35ef2a5
|
|
@ -2199,10 +2199,10 @@ inp_fix_subckt(struct names *subckt_w_params, char *s)
|
|||
|
||||
if (last_param_card)
|
||||
last_param_card->li_next = c;
|
||||
else
|
||||
first_param_card = c;
|
||||
|
||||
last_param_card = c;
|
||||
|
||||
if (!first_param_card)
|
||||
first_param_card = c;
|
||||
}
|
||||
/* now sort parameters in order of dependencies */
|
||||
inp_sort_params(first_param_card, head, NULL, NULL);
|
||||
|
|
|
|||
Loading…
Reference in New Issue