aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2017-05-29 14:37:14 +1000
committerdaurnimator <quae@daurnimator.com>2017-05-29 14:37:14 +1000
commitce0ef55aff5669abb53fdd1d61e7cf8389c2089b (patch)
treee1ae4e30aa723417f6ca7e602bd2722ec373d3af
parentf87a838f498c2ec6536ba813d7ae83bd1e78a506 (diff)
downloadfengari-ce0ef55aff5669abb53fdd1d61e7cf8389c2089b.tar.gz
fengari-ce0ef55aff5669abb53fdd1d61e7cf8389c2089b.tar.bz2
fengari-ce0ef55aff5669abb53fdd1d61e7cf8389c2089b.zip
src/lvm.js: Fix indentation in luaV_concat
-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();
}