inpcom.c, inp_add_series_resistor(), reorder
deploy value for 'd->li_next' in the li_next slot and fetch from there
This commit is contained in:
parent
0d17fffb00
commit
2ce71c10ef
|
|
@ -5551,8 +5551,8 @@ inp_add_series_resistor(struct line *deck)
|
|||
// insert new new L and R lines immediately after current line
|
||||
*(card->li_line) = '*';
|
||||
d = xx_new_line(NULL, newR, 0, 0);
|
||||
card = card->li_next = xx_new_line(card->li_next, newL, 0, 0);
|
||||
d->li_next = card->li_next;
|
||||
card = card->li_next = xx_new_line(NULL, newL, 0, 0);
|
||||
card->li_next = d;
|
||||
card = d;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue