forked from izaya/OC-PsychOS2
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