Normalize path in 'getfileinfo' for local host.

This commit is contained in:
Tom van Dijck 2017-05-09 15:11:54 -07:00
parent 3e4ebb8acc
commit e1bc3cbe9e

View File

@ -416,7 +416,8 @@
if info.what == "C" then if info.what == "C" then
return "C function" return "C function"
else 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
end end