sbase

suckless unix tools
git clone git://git.2f30.org/sbase
Log | Files | Refs | README | LICENSE

commit 89f5f8431678640cc566b760ad9bf91e9994e48f
parent 441f73a518f0fead0a541195a50a7dd71db4fcfe
Author: Thomas Mannay <audiobarrier@openmailbox.org>
Date:   Thu,  3 Nov 2016 15:19:35 +0000

ed: Treat addresses of 0 as 1 for insert

From 6665eaa1d2c25a95b44a4f4fb3d24a3bd5c1180f Mon Sep 17 00:00:00 2001
From: Thomas Mannay <audiobarrier@openmailbox.org>
Date: Thu, 3 Nov 2016 15:16:32 +0000
Subject: [PATCH] Treat addresses of 0 as 1 for insert

Diffstat:
Med.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ed.c b/ed.c @@ -1143,7 +1143,7 @@ repeat: chkprint(1); deflines(curln, curln); if (!line1) - goto bad_address; + line1++; append(prevln(line1)); break; case 'a':