aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-11-15 16:19:03 +0000
committerrsc <devnull@localhost>2004-11-15 16:19:03 +0000
commit5e2e4f823914ce882a32415b029613092394ac85 (patch)
tree4d72db0295c65de01d1617baac8ba877db1dc718 /src
parent24f4e66b12cf0501d0f239ade10b2963f46e6755 (diff)
downloadplan9port-5e2e4f823914ce882a32415b029613092394ac85.tar.gz
plan9port-5e2e4f823914ce882a32415b029613092394ac85.tar.bz2
plan9port-5e2e4f823914ce882a32415b029613092394ac85.zip
allow last column to be deleted
Diffstat (limited to 'src')
-rw-r--r--src/cmd/acme/util.c8
1 files changed, 0 insertions, 8 deletions
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;