From 5e2e4f823914ce882a32415b029613092394ac85 Mon Sep 17 00:00:00 2001 From: rsc Date: Mon, 15 Nov 2004 16:19:03 +0000 Subject: allow last column to be deleted --- src/cmd/acme/util.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/cmd/acme') diff --git a/src/cmd/acme/util.c b/src/cmd/acme/util.c index f72a5bf9..4fa3fec0 100644 --- a/src/cmd/acme/util.c +++ b/src/cmd/acme/util.c @@ -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; -- cgit v1.2.3