commit 88d1c80edb873e03f9377e00f2a1a5e3ddca20f0
parent 0cac1a2ba6f15f661fafdec568c73fae3cea9c4f
Author: Kris Maglione <bsdaemon@wmii.de>
Date: Thu, 8 Jun 2006 07:01:33 -0400
Fixed closing first column bug; updated cext_assert to abort() rather than exit(1)
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/cmd/wm/area.c b/cmd/wm/area.c
@@ -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);
}
diff --git a/libcext/assert.c b/libcext/assert.c
@@ -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();
}