docs: fix typos (#21427)

Co-authored-by: Gustavo Sampaio <gbritosampaio@gmail.com>
Co-authored-by: C.D. MacEachern <craig.daniel.maceachern@gmail.com>
Co-authored-by: Sean Dewar <seandewar@users.noreply.github.com>
Co-authored-by: Tomas Nemec <nemi@skaut.cz>
This commit is contained in:
dundargoc
2023-01-04 00:38:48 +01:00
committed by GitHub
parent 5529b07316
commit 936e191fef
10 changed files with 22 additions and 22 deletions

View File

@@ -61,7 +61,7 @@ for i = 6, #arg do
functions[#functions + 1] = tmp[j]
function_names[fn.name] = true
if #fn.parameters >= 2 and fn.parameters[2][1] == 'Array' and fn.parameters[2][2] == 'uidata' then
-- function recieves the "args" as a parameter
-- function receives the "args" as a parameter
fn.receives_array_args = true
-- remove the args parameter
table.remove(fn.parameters, 2)
@@ -360,7 +360,7 @@ for i = 1, #functions do
if #args > 0 or fn.can_fail then
output:write('channel_id, ')
if fn.receives_array_args then
-- if the function recieves the array args, pass it the second argument
-- if the function receives the array args, pass it the second argument
output:write('args, ')
end
output:write(call_args)