tallow last column to be deleted - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 5e2e4f823914ce882a32415b029613092394ac85
(DIR) parent 24f4e66b12cf0501d0f239ade10b2963f46e6755
(HTM) Author: rsc <devnull@localhost>
Date: Mon, 15 Nov 2004 16:19:03 +0000
allow last column to be deleted
Diffstat:
M src/cmd/acme/util.c | 8 --------
1 file changed, 0 insertions(+), 8 deletions(-)
---
(DIR) diff --git a/src/cmd/acme/util.c b/src/cmd/acme/util.c
t@@ -171,14 +171,6 @@ flushwarnings(void)
int owner, nr, q0, n;
Rune *r;
- if(row.ncol == 0){ /* really early error */
- rowinit(&row, screen->clipr);
- rowadd(&row, nil, -1);
- rowadd(&row, nil, -1);
- if(row.ncol == 0)
- error("initializing columns in flushwarnings()");
- }
-
for(warn=warnings; warn; warn=next) {
w = errorwin(warn->md, 'E');
t = &w->body;