summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lvm.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lvm.js b/src/lvm.js
index 9bbe768..af8984f 100644
--- a/src/lvm.js
+++ b/src/lvm.js
@@ -710,11 +710,11 @@ const luaV_execute = function(L) {
ldo.luaD_checkstack(L, n);
if (L.top >= ra+n) {
while (L.top > ra+n)
- delete L.stack[--L.top];
+ delete L.stack[--L.top];
} else {
while (L.top < ra+n) {
- L.stack[L.top] = new lobject.TValue();
- L.top++;
+ L.stack[L.top] = new lobject.TValue();
+ L.top++;
}
}
assert(L.top == ra + n);