mirror of
https://github.com/opentx/opentx.git
synced 2025-07-26 01:35:21 +03:00
Trace fixed
This commit is contained in:
parent
260da330c4
commit
516be9d9d3
1 changed files with 1 additions and 1 deletions
2
radio/src/thirdparty/Lua/src/lvm.c
vendored
2
radio/src/thirdparty/Lua/src/lvm.c
vendored
|
@ -119,11 +119,11 @@ void luaV_gettable (lua_State *L, const TValue *t, TValue *key, StkId val) {
|
|||
int loop;
|
||||
if (ttisrotable(t)) {
|
||||
setnilvalue(val);
|
||||
TRACE("luaV_gettable(key=%s)", key);
|
||||
if (ttisstring(key)) {
|
||||
char keyname[LUA_MAX_ROTABLE_NAME + 1];
|
||||
lu_byte keytype;
|
||||
lua_getcstr(keyname, rawtsvalue(key), LUA_MAX_ROTABLE_NAME);
|
||||
TRACE("luaV_gettable(key=%s)", keyname);
|
||||
luaR_result res = luaR_findentry(rvalue(t), keyname, &keytype);
|
||||
if (keytype == LUA_TLIGHTFUNCTION)
|
||||
setlfvalue(val, (void*)(size_t)res)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue