From 0dfc45d0f8cfb4f32839ba71d126652903acf790 Mon Sep 17 00:00:00 2001 From: Matthias Richter Date: Fri, 1 Jan 2016 21:36:58 +0100 Subject: [PATCH] Remove unused parameters --- imagebutton.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imagebutton.lua b/imagebutton.lua index cb256db..dc25f41 100644 --- a/imagebutton.lua +++ b/imagebutton.lua @@ -4,7 +4,7 @@ local BASE = (...):match('(.-)[^%.]+$') local core = require(BASE .. 'core') return function(...) - local opt, x,y,w,h = core.getOptionsAndSize(...) + local opt, x,y = core.getOptionsAndSize(...) opt.normal = opt.normal or opt[1] opt.hot = opt.hot or opt[2] or opt.normal opt.active = opt.active or opt[3] or opt.hot