From c2079561359aa6a3f658dd34b1b32dfd0761d730 Mon Sep 17 00:00:00 2001 From: sanine-a Date: Sat, 24 Oct 2020 23:02:09 -0500 Subject: switch input callbacks to use honey_lua_pcall --- src/input/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/input.c b/src/input/input.c index 5624269..2fa1626 100644 --- a/src/input/input.c +++ b/src/input/input.c @@ -247,7 +247,7 @@ static void execute_lua_key_callback(lua_State* L, int callback, int action, int lua_rawgeti(L, LUA_REGISTRYINDEX, data); else lua_pushnil(L); - lua_pcall(L, 2, 0, 0); + honey_lua_pcall(L, 2, 0); } } -- cgit v1.2.1