tacme: one more place to use parsetag - plan9port - [fork] Plan 9 from user space
git clone git://src.adamsgaard.dk/plan9port
Log
Files
Refs
README
LICENSE
---
commit 6bddb06b710066a4086dbe77822d02cafecb935b
parent 81d992e35f12d53e6799d20c744ffb4e6a49787d
Author: Russ Cox 
Date:   Mon, 13 Jan 2020 21:58:40 -0500

acme: one more place to use parsetag

Diffstat:
  M src/cmd/acme/wind.c                 |       6 +-----

1 file changed, 1 insertion(+), 5 deletions(-)
---
diff --git a/src/cmd/acme/wind.c b/src/cmd/acme/wind.c
t@@ -419,11 +419,7 @@ wincleartag(Window *w)
 
         /* w must be committed */
         n = w->tag.file->b.nc;
-        r = runemalloc(n);
-        bufread(&w->tag.file->b, 0, r, n);
-        for(i=0; i