1
1
mirror of https://git.shadowkat.net/izaya/OC-PsychOS2.git synced 2024-11-14 00:47:00 -05:00

made ed not choke when you append an empty file

This commit is contained in:
XeonSquared 2019-11-09 13:46:31 +11:00
parent e9aac95dd7
commit a335ff5c87

View File

@ -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)