diff options
Diffstat (limited to 'framebuf.lua')
-rw-r--r-- | framebuf.lua | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/framebuf.lua b/framebuf.lua index 614f48b..c6b6bea 100644 --- a/framebuf.lua +++ b/framebuf.lua @@ -61,7 +61,6 @@ function M:ppm(data, x, y) if type(data) ~= "string" then local f = data data = assert(f.readAll()) - f.close() end local x, y = round(x or 1, y or 1) local w, h, depth, data = data:match "^P6\n(%d+) (%d+)\n(%d+)\n(.+)" |