Fixed closing first column bug; updated cext_assert to abort() rather than exit(1)

This commit is contained in:
Kris Maglione 2006-06-08 07:01:33 -04:00
parent 0cac1a2ba6
commit 88d1c80edb
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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();
}