Fix error in rescan list replace
This commit is contained in:
parent
17e1ddeb58
commit
1ecb016453
|
@ -269,7 +269,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