Fix error in rescan list replace

This commit is contained in:
Francesco Abbate 2021-07-23 23:30:06 +02:00
parent 52636b4acc
commit 4c5c126aa1
1 changed files with 1 additions and 1 deletions

View File

@ -270,7 +270,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