aboutsummaryrefslogtreecommitdiffstats
path: root/checkbox.lua
diff options
context:
space:
mode:
Diffstat (limited to 'checkbox.lua')
-rwxr-xr-xcheckbox.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/checkbox.lua b/checkbox.lua
index c5f5fce..306fc8f 100755
--- a/checkbox.lua
+++ b/checkbox.lua
@@ -1,4 +1,4 @@
-local core = require((...):match("^(.+)%.[^%.]+") .. '.core')
+local core = require((...):match("(.-)[^%.]+$") .. 'core')
return function(info, x,y, w,h, draw)
local id = core.generateID()