summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lvm.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lvm.js b/src/lvm.js
index bb5a615..409f99f 100644
--- a/src/lvm.js
+++ b/src/lvm.js
@@ -1113,8 +1113,8 @@ const luaV_concat = function(L, total) {
toconcat[total-1] = L.stack[top-1].svalue();
for (n = 1; n < total; n++) {
if (!tostring(L, top - n - 1)) {
- toconcat = toconcat.slice(total-n);
- break;
+ toconcat = toconcat.slice(total-n);
+ break;
}
toconcat[total-n-1] = L.stack[top - n - 1].svalue();
}