mirror of
https://github.com/FPtje/FProfiler.git
synced 2025-03-04 03:03:14 -05:00
Fixed #4
This commit is contained in:
parent
95a66adce6
commit
cab00ff2ea
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user