aboutsummaryrefslogtreecommitdiffstats
path: root/button.lua
diff options
context:
space:
mode:
Diffstat (limited to 'button.lua')
-rw-r--r--button.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/button.lua b/button.lua
index 2374645..94ff634 100644
--- a/button.lua
+++ b/button.lua
@@ -1,4 +1,4 @@
-local core = require((...):match("^(.+)%.[^%.]+") .. '.core')
+local core = require((...):match("(.-)[^%.]+$") .. 'core')
-- the widget
return function(title, x,y, w,h, draw)