From 1d05e2860cf045208773a2e64b68ba27c21f77ff Mon Sep 17 00:00:00 2001 From: Xinhao Yuan Date: Mon, 7 Nov 2022 11:34:42 -0500 Subject: [PATCH] Nits. --- engine.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/engine.lua b/engine.lua index 5bb642e..c00cfe7 100644 --- a/engine.lua +++ b/engine.lua @@ -333,7 +333,7 @@ local function areas_from_command(command, workarea, minimum) elseif method == "w" or method == "d" then local args = parse_arg_str(arg_str, 0) - + local arg local x_shares = {} local y_shares = {} local m_start = #args + 1 @@ -466,7 +466,7 @@ local function areas_from_command(command, workarea, minimum) end local function generate_range(s, e) - local r = {} for i = s, e do r[#r+1] = i end return r + local r = {} for j = s, e do r[#r+1] = j end return r end local r = { @@ -719,7 +719,7 @@ local function areas_from_command(command, workarea, minimum) root.height = root.y_minimum end - function split(id) + local function split(id) local a = closed_areas[id] if a.split then local x_shares, y_shares