diff --git a/button.c b/button.c index e2cc652c..fc4cea86 100644 --- a/button.c +++ b/button.c @@ -194,7 +194,7 @@ luaA_button_index(lua_State *L) lua_pushnumber(L, button->button); break; default: - break; + return 0; } return 1;