summaryrefslogtreecommitdiffstats
path: root/src/cmd/acme/edit.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-12-27 01:16:26 +0000
committerrsc <devnull@localhost>2004-12-27 01:16:26 +0000
commit6d7fdb243ca2611e31648d57c8b3ac4101407cfa (patch)
treec06f6a7764885fd4b4d15eb776c77fb4fc505b0b /src/cmd/acme/edit.c
parent334cb1e91ceb2d667c1cfd0b71aa9801bef089ec (diff)
downloadplan9port-6d7fdb243ca2611e31648d57c8b3ac4101407cfa.tar.gz
plan9port-6d7fdb243ca2611e31648d57c8b3ac4101407cfa.zip
changes from plan 9
Diffstat (limited to 'src/cmd/acme/edit.c')
-rw-r--r--src/cmd/acme/edit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/acme/edit.c b/src/cmd/acme/edit.c
index c41985bb..ccc7f585 100644
--- a/src/cmd/acme/edit.c
+++ b/src/cmd/acme/edit.c
@@ -445,6 +445,7 @@ collecttext(void)
goto Return;
}while(s->r[begline]!='.' || s->r[begline+1]!='\n');
s->r[s->n-2] = '\0';
+ s->n -= 2;
}else{
okdelim(delim = getch());
getrhs(s, delim, 'a');