From ee29cb7459e3cdd388b125e85cb3fa93e2629ba6 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 9 Apr 2018 12:23:44 +0100 Subject: [PATCH] [Minor] Fix index --- lualib/lua_squeeze_rules.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lualib/lua_squeeze_rules.lua b/lualib/lua_squeeze_rules.lua index dd68ccb61..4309e1f97 100644 --- a/lualib/lua_squeeze_rules.lua +++ b/lualib/lua_squeeze_rules.lua @@ -42,7 +42,7 @@ local function gen_lua_squeeze_function(order) if first then table.remove(ret, 1) - local second = ret[2] + local second = ret[1] if type(second) == 'number' then table.remove(ret, 1) -- 2.39.5