fixed a bug with append hopefully
This commit is contained in:
parent
2c61a6150b
commit
6763791189
@ -36,6 +36,7 @@ function ct.list(s,e)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
function ct.sp(np)
|
function ct.sp(np)
|
||||||
|
np=tonumber(np)
|
||||||
if np then
|
if np then
|
||||||
if np > #ft then
|
if np > #ft then
|
||||||
np = #ft
|
np = #ft
|
||||||
@ -60,8 +61,9 @@ function ct.insert(np)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
function ct.append(np)
|
function ct.append(np)
|
||||||
if np then np=np+1 end
|
ct.sp(np)
|
||||||
ct.insert(np)
|
p=p+1
|
||||||
|
ct.insert()
|
||||||
end
|
end
|
||||||
function ct.substitute(np)
|
function ct.substitute(np)
|
||||||
ct.sp(np)
|
ct.sp(np)
|
||||||
|
Loading…
Reference in New Issue
Block a user