aboutsummaryrefslogtreecommitdiffstats
path: root/label.lua
diff options
context:
space:
mode:
authormkosler <marekkpie@gmail.com>2012-02-21 12:50:21 -0600
committermkosler <marekkpie@gmail.com>2012-02-21 12:50:21 -0600
commitd51babb366d1a46ebe978111ad0b31bfddf95913 (patch)
treee9ccd0118f73463d657054b9cac3ce1be0f84e0f /label.lua
parent541145560a3b35ad5d37ca76e301c07e32cd4eb0 (diff)
parenta094675a49cf4ab011ddb15fd1bc21632caceb9c (diff)
downloadQuickie-d51babb366d1a46ebe978111ad0b31bfddf95913.tar.gz
Quickie-d51babb366d1a46ebe978111ad0b31bfddf95913.tar.bz2
Quickie-d51babb366d1a46ebe978111ad0b31bfddf95913.tar.xz
Quickie-d51babb366d1a46ebe978111ad0b31bfddf95913.zip
Merge branch 'master' of git://github.com/vrld/Quickie.git
Diffstat (limited to 'label.lua')
-rwxr-xr-xlabel.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/label.lua b/label.lua
index 76f3c92..34d32b4 100755
--- 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()