diff options
Diffstat (limited to 'src/cmd')
-rw-r--r-- | src/cmd/acme/wind.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/cmd/acme/wind.c b/src/cmd/acme/wind.c index 5950ef0e..156835da 100644 --- a/src/cmd/acme/wind.c +++ b/src/cmd/acme/wind.c @@ -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<n; i++) - if(r[i]==' ' || r[i]=='\t') - break; + r = parsetag(w, &i); for(; i<n; i++) if(r[i] == '|') break; |