From 6c14a429890ee4980485b6975cc08a03d91acfe0 Mon Sep 17 00:00:00 2001 From: daurnimator Date: Thu, 4 May 2017 14:47:38 +1000 Subject: src/ldebug.js: Fix indentation --- src/ldebug.js | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/ldebug.js b/src/ldebug.js index d565829..25af97b 100644 --- a/src/ldebug.js +++ b/src/ldebug.js @@ -144,17 +144,17 @@ const lua_getlocal = function(L, ar, n) { }; const lua_setlocal = function(L, ar, n) { - swapextra(L); - let local = findlocal(L, ar.i_ci, n); - let name = local.name; - let pos = local.pos; - if (name) { - L.stack[pos].type = L.stack[L.top - 1].type; - L.stack[pos].value = L.stack[L.top - 1].value; - L.top--; /* pop value */ - } - swapextra(L); - return name; + swapextra(L); + let local = findlocal(L, ar.i_ci, n); + let name = local.name; + let pos = local.pos; + if (name) { + L.stack[pos].type = L.stack[L.top - 1].type; + L.stack[pos].value = L.stack[L.top - 1].value; + L.top--; /* pop value */ + } + swapextra(L); + return name; }; const funcinfo = function(ar, cl) { -- cgit v1.2.3-70-g09d2