From ce0ef55aff5669abb53fdd1d61e7cf8389c2089b Mon Sep 17 00:00:00 2001 From: daurnimator Date: Mon, 29 May 2017 14:37:14 +1000 Subject: src/lvm.js: Fix indentation in luaV_concat --- src/lvm.js | 4 ++-- 1 file 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(); } -- cgit v1.2.3-70-g09d2