mirror of
https://git.shadowkat.net/izaya/OC-PsychOS2.git
synced 2024-11-14 08:50:00 -05:00
made ed not choke when you append an empty file
This commit is contained in:
parent
e9aac95dd7
commit
a335ff5c87
@ -63,6 +63,7 @@ end
|
|||||||
function ct.append(np)
|
function ct.append(np)
|
||||||
ct.sp(np)
|
ct.sp(np)
|
||||||
p=p+1
|
p=p+1
|
||||||
|
if #ft < 1 then p = 1 end
|
||||||
ct.insert()
|
ct.insert()
|
||||||
end
|
end
|
||||||
function ct.delete(np,n)
|
function ct.delete(np,n)
|
||||||
|
Loading…
Reference in New Issue
Block a user