Fix error in rescan list replace

This commit is contained in:
Francesco Abbate 2021-07-23 23:30:06 +02:00
parent 17e1ddeb58
commit 1ecb016453
1 changed files with 1 additions and 1 deletions

View File

@ -269,7 +269,7 @@ local function files_list_replace(a, i1, i2, b)
table.remove(a, i1 + nmin + 1)
end
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