diff options
author | sanine-a <sanine.not@pm.me> | 2020-10-24 23:02:09 -0500 |
---|---|---|
committer | sanine-a <sanine.not@pm.me> | 2020-10-24 23:02:09 -0500 |
commit | c2079561359aa6a3f658dd34b1b32dfd0761d730 (patch) | |
tree | e180e921b6937a29d386febdfb3329513f4ee279 | |
parent | ef48092c9752fe3fdd358351f368c8c66da3638d (diff) |
switch input callbacks to use honey_lua_pcall
-rw-r--r-- | src/input/input.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |