summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-04-01 20:25:21 +0100
committerubq323 <ubq323@ubq323.website>2024-04-01 20:25:21 +0100
commit1cd1a31d1913ba91922ee86af442e17c560e4f31 (patch)
tree14fb12c891f6113fd35a9705b7b471cff0e44d81
parentc86ef0c09690baf82260481d17e5607f8f766791 (diff)
launch john
-rw-r--r--framebuf.lua1
-rw-r--r--john.dat2
2 files changed, 0 insertions, 3 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(.+)"
diff --git a/john.dat b/john.dat
index 4e16e31..57b8182 100644
--- a/john.dat
+++ b/john.dat
@@ -1,3 +1 @@
dep framebuf
-file john.lua
-file img/john.pnm