+2
-1
lines changedFilter options
+2
-1
lines changed Original file line number Diff line number Diff line change
@@ -606,7 +606,8 @@ void modify_keymap(Buffer buffer, bool is_unmap, String mode, String lhs, String
606
606
}
607
607
608
608
if (opts != NULL && opts->callback.type == kObjectTypeLuaRef) {
609
-
lua_funcref = api_new_luaref(opts->callback.data.luaref);
609
+
lua_funcref = opts->callback.data.luaref;
610
+
opts->callback.data.luaref = LUA_NOREF;
610
611
}
611
612
MapArguments parsed_args = MAP_ARGUMENTS_INIT;
612
613
if (opts) {
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4