diff options
author | 2008-06-19 16:11:05 -0400 | |
---|---|---|
committer | 2008-06-19 16:11:05 -0400 | |
commit | 97635fa8723928c958effcab10f060572cfb42b1 (patch) | |
tree | 78bd161b7edb2b08f2034a77753efeb66d8d067a /src/lua_interface.c | |
parent | cc95cc0880cc064550cc1fc6399230ddbf7934d3 (diff) | |
download | textadept-97635fa8723928c958effcab10f060572cfb42b1.tar.gz textadept-97635fa8723928c958effcab10f060572cfb42b1.zip |
l_handle_event should return false if function check fails; src/lua_interface.c
Diffstat (limited to 'src/lua_interface.c')
-rw-r--r-- | src/lua_interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua_interface.c b/src/lua_interface.c index 8706d4e1..08ad97c6 100644 --- a/src/lua_interface.c +++ b/src/lua_interface.c @@ -627,7 +627,7 @@ void l_handle_error(LS *lua, const char *errmsg) { * @param s String event name. */ bool l_handle_event(const char *s) { - return l_is_ta_table_function("events", s) ? l_call_function(0, 1) : true; + return l_is_ta_table_function("events", s) ? l_call_function(0, 1) : false; } /** |