Fix error introduced with 43fc35d7

This commit is contained in:
Francesco Abbate 2021-10-12 22:19:24 +02:00
parent 43374b036f
commit f18ac849fb
1 changed files with 1 additions and 1 deletions

View File

@ -315,7 +315,7 @@ function common.normalize_path(filename)
else
local relpath = filename:match('^/(.+)')
if relpath then
volume, filepath = "/", relpath
volume, filename = "/", relpath
end
end
local parts = split_on_slash(filename, PATHSEP)