made ed not choke when you append an empty file

This commit is contained in:
Izaya 2019-11-09 13:46:31 +11:00
parent e9aac95dd7
commit a335ff5c87
1 changed files with 1 additions and 0 deletions

View File

@ -63,6 +63,7 @@ end
function ct.append(np)
ct.sp(np)
p=p+1
if #ft < 1 then p = 1 end
ct.insert()
end
function ct.delete(np,n)