Fix error introduced with 43fc35d7

This commit is contained in:
Francesco Abbate
2021-10-21 23:18:31 +02:00
parent 43374b036f
commit f18ac849fb
+1 -1
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)