Lua: fix non-marking reads
This commit is contained in:
parent
76d689c691
commit
2b6f43d428
3
hex.c
3
hex.c
@ -1099,7 +1099,10 @@ app_lua_chunk_finish_read
|
||||
{
|
||||
int n_args = lua_gettop (L) - 1;
|
||||
if (n_args < 2)
|
||||
{
|
||||
self->position += len;
|
||||
return;
|
||||
}
|
||||
|
||||
// Prepare <string.format>, <format>, <value>
|
||||
lua_rawgeti (L, LUA_REGISTRYINDEX, g_ctx.ref_format);
|
||||
|
Loading…
x
Reference in New Issue
Block a user