>From 6665eaa1d2c25a95b44a4f4fb3d24a3bd5c1180f Mon Sep 17 00:00:00 2001 From: Thomas Mannay <audiobarr...@openmailbox.org> Date: Thu, 3 Nov 2016 15:16:32 +0000 Subject: [PATCH] Treat addresses of 0 as 1 for insert
--- ed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ed.c b/ed.c index 184ed30..4cd6bca 100644 --- a/ed.c +++ b/ed.c @@ -1137,7 +1137,7 @@ repeat: chkprint(1); deflines(curln, curln); if (!line1) - goto bad_address; + line1++; append(prevln(line1)); break; case 'a': -- 2.9.2 -- O< ascii ribbon campaign - stop html mail - www.asciiribbon.org Thomas Mannay <audiobarr...@openmailbox.org>