allow last column to be deleted

This commit is contained in:
rsc 2004-11-15 16:19:03 +00:00
parent 24f4e66b12
commit 5e2e4f8239

View file

@ -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;