diff options
Diffstat (limited to 'src/lapi.js')
-rw-r--r-- | src/lapi.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lapi.js b/src/lapi.js index 92e1612..27d692a 100644 --- a/src/lapi.js +++ b/src/lapi.js @@ -895,7 +895,7 @@ const lua_arith = function(L, op) { L.stack[L.top++] = L.stack[L.top - 1]; } /* first operand at top - 2, second at top - 1; result go to top - 2 */ - lobject.luaO_arith(L, op, L.stack[L.top - 2], L.stack[L.top - 1], L.stack[L.top - 2]); + lobject.luaO_arith(L, op, L.stack[L.top - 2], L.stack[L.top - 1], L.top - 2); L.top--; /* remove second operand */ }; |