aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fakecanvas.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/fakecanvas.lua b/fakecanvas.lua
index a58efc4..39482ce 100644
--- a/fakecanvas.lua
+++ b/fakecanvas.lua
@@ -86,7 +86,7 @@ function canvas:type ()
end
function canvas:typeOf (type)
- return _types[type]
+ return not not _types[type]
end
-- internal