inpcom.c, inp_fix_subckt(), #1/4, rewrite 'append'

This commit is contained in:
rlar 2017-04-22 12:42:37 +02:00
parent e75f48d91f
commit dda35ef2a5
1 changed files with 3 additions and 3 deletions

View File

@ -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);