diff options
Diffstat (limited to 'src/lapi.js')
-rw-r--r-- | src/lapi.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lapi.js b/src/lapi.js index be80672..2ae5b3c 100644 --- a/src/lapi.js +++ b/src/lapi.js @@ -128,8 +128,8 @@ const lua_xmove = function(from, to, n) { */ const lua_absindex = function(L, idx) { return (idx > 0 || idx <= defs.LUA_REGISTRYINDEX) - ? idx - : (L.top - L.ci.funcOff) + idx; + ? idx + : (L.top - L.ci.funcOff) + idx; }; const lua_gettop = function(L) { |