Fix error in rescan list replace
This commit is contained in:
parent
52636b4acc
commit
4c5c126aa1
|
@ -270,7 +270,7 @@ local function files_list_replace(a, i1, i2, b)
|
||||||
table.remove(a, i1 + nmin + 1)
|
table.remove(a, i1 + nmin + 1)
|
||||||
end
|
end
|
||||||
for j = 1, #b - nmin do
|
for j = 1, #b - nmin do
|
||||||
table.insert(a, i1 + nmin + 1, b[nmin + j])
|
table.insert(a, i1 + nmin + j, b[nmin + j])
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue