This commit is contained in:
Xinhao Yuan 2022-11-07 11:34:42 -05:00
parent d15b877fb5
commit 1d05e2860c
1 changed files with 3 additions and 3 deletions

View File

@ -333,7 +333,7 @@ local function areas_from_command(command, workarea, minimum)
elseif method == "w" or method == "d" then elseif method == "w" or method == "d" then
local args = parse_arg_str(arg_str, 0) local args = parse_arg_str(arg_str, 0)
local arg
local x_shares = {} local x_shares = {}
local y_shares = {} local y_shares = {}
local m_start = #args + 1 local m_start = #args + 1
@ -466,7 +466,7 @@ local function areas_from_command(command, workarea, minimum)
end end
local function generate_range(s, e) 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 end
local r = { local r = {
@ -719,7 +719,7 @@ local function areas_from_command(command, workarea, minimum)
root.height = root.y_minimum root.height = root.y_minimum
end end
function split(id) local function split(id)
local a = closed_areas[id] local a = closed_areas[id]
if a.split then if a.split then
local x_shares, y_shares local x_shares, y_shares