diff options
| author | Russ Cox <rsc@swtch.com> | 2021-09-28 13:07:25 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@swtch.com> | 2021-09-28 13:07:33 -0400 |
| commit | 8cf52696bed986f8914f214768690d6ca47bae76 (patch) | |
| tree | f0b60161c70a7a4733fb960c242239dbc2826c08 /src | |
| parent | ceb1ab90ff65d3c2ac3fc46546dc2eed206a37c3 (diff) | |
acme: fix extra print args
Diffstat (limited to 'src')
| -rw-r--r-- | src/cmd/acme/exec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/acme/exec.c b/src/cmd/acme/exec.c index be7936ae..1dd02288 100644 --- a/src/cmd/acme/exec.c +++ b/src/cmd/acme/exec.c @@ -209,14 +209,14 @@ execute(Text *t, uint aq0, uint aq1, int external, Text *argt) if(n <= EVENTSIZE) winevent(t->w, "%c%d %d %d %d %.*S\n", c, aq0, aq1, f, n, n, r); else - winevent(t->w, "%c%d %d %d 0 \n", c, aq0, aq1, f, n); + winevent(t->w, "%c%d %d %d 0 \n", c, aq0, aq1, f); if(q0!=aq0 || q1!=aq1){ n = q1-q0; bufread(&t->file->b, q0, r, n); if(n <= EVENTSIZE) winevent(t->w, "%c%d %d 0 %d %.*S\n", c, q0, q1, n, n, r); else - winevent(t->w, "%c%d %d 0 0 \n", c, q0, q1, n); + winevent(t->w, "%c%d %d 0 0 \n", c, q0, q1); } if(a){ winevent(t->w, "%c0 0 0 %d %s\n", c, utflen(a), a); |