From 562ad6f874564c3770d096711f443b49f59ef686 Mon Sep 17 00:00:00 2001 From: daurnimator Date: Sun, 10 Dec 2017 02:08:53 +1100 Subject: src/: Fix some linter complaints --- src/lapi.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lapi.js') diff --git a/src/lapi.js b/src/lapi.js index be80672..2ae5b3c 100644 --- a/src/lapi.js +++ b/src/lapi.js @@ -128,8 +128,8 @@ const lua_xmove = function(from, to, n) { */ const lua_absindex = function(L, idx) { return (idx > 0 || idx <= defs.LUA_REGISTRYINDEX) - ? idx - : (L.top - L.ci.funcOff) + idx; + ? idx + : (L.top - L.ci.funcOff) + idx; }; const lua_gettop = function(L) { -- cgit v1.2.3-54-g00ecf