This commit is contained in:
FPtje 2016-06-20 19:12:59 +02:00
parent 95a66adce6
commit cab00ff2ea

View File

@ -35,7 +35,7 @@ function FProfiler.readSource(fname, startLine, endLine)
local res = {}
for i = startLine, endLine do
table.insert(res, f:ReadLine())
table.insert(res, f:ReadLine() or "")
end
return table.concat(res, "\n")