aboutsummaryrefslogtreecommitdiffstats
path: root/label.lua
diff options
context:
space:
mode:
Diffstat (limited to 'label.lua')
-rw-r--r--label.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/label.lua b/label.lua
index 76f3c92..34d32b4 100644
--- a/label.lua
+++ b/label.lua
@@ -1,4 +1,4 @@
-local core = require((...):match("^(.+)%.[^%.]+") .. '.core')
+local core = require((...):match("(.-)[^%.]+$") .. 'core')
return function(text, x,y,w,h,align, draw)
local id = core.generateID()