Normalize path in 'getfileinfo' for local host.
This commit is contained in:
parent
3e4ebb8acc
commit
e1bc3cbe9e
@ -416,7 +416,8 @@
|
||||
if info.what == "C" then
|
||||
return "C function"
|
||||
else
|
||||
return string.format("%s(%d)", info.short_src, info.currentline)
|
||||
local sep = iif(os.ishost('windows'), '\\', '/')
|
||||
return string.format("%s(%d)", path.translate(info.short_src, sep), info.currentline)
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user