inpcom.c: fix loop index

This commit is contained in:
h_vogt 2013-06-02 13:29:40 +02:00
parent 4cb45122a1
commit 5a63ea3a8d
1 changed files with 1 additions and 1 deletions

View File

@ -4955,7 +4955,7 @@ inp_compat(struct line *card)
card->li_line = inp_remove_ws(curr_line);
// insert new B source line immediately after current line
for (ii = paui; ii < pai; ii++) {
struct line *x = xx_new_line(NULL, ckt_array[i], 0, 0);
struct line *x = xx_new_line(NULL, ckt_array[ii], 0, 0);
if (param_end)
param_end->li_next = x;