mirror of https://github.com/0intro/wmii
Fixed closing first column bug; updated cext_assert to abort() rather than exit(1)
This commit is contained in:
parent
0cac1a2ba6
commit
88d1c80edb
|
@ -71,7 +71,7 @@ destroy_area(Area *a)
|
|||
if(t) {
|
||||
t->next = a->next;
|
||||
if(v->sel == a)
|
||||
v->sel = t;
|
||||
v->sel = t == v->area ? t->next : t;
|
||||
}
|
||||
free(a);
|
||||
}
|
||||
|
|
|
@ -6,5 +6,5 @@ void
|
|||
cext_failed_assert(char *a, char *file, int line)
|
||||
{
|
||||
fprintf(stderr, "Assertion \"%s\" failed at %s:%d\n", a, file, line);
|
||||
exit(1);
|
||||
abort();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue