fixed a crashing bug

This commit is contained in:
Anselm R. Garbe 2006-03-01 12:47:28 +01:00
parent eb6f1ac641
commit 87fac5fd96

View File

@ -402,7 +402,7 @@ detach_client(Client *c, Bool unmap)
if(area2index(a)) { /* column */
if(!a->nclient) {
Page *p = a->page;
if(p->narea != 2) {
if(p->narea > 2) {
destroy_area(a);
arrange_page(p, True);
}