about summary refs log tree commit diff stats
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 c495b5f..10f32ff 100644
--- a/button.lua
+++ b/button.lua
@@ -9,7 +9,7 @@ function button(name, params)
 end
 
 -- process button event handlers
-function propagate_to_button_handers(x, y, button)
+function propagate_to_button_handlers(x, y, button)
   for _,ev in ipairs(button_handlers) do
     if x>ev.x and x<ev.x+ev.w and y>ev.y and y<ev.y+ev.h then
       if ev.onpress1 and button == 1 then ev.onpress1() end