bugfix erase_border - assert anpassen

This commit is contained in:
Enno Rehling 2004-02-07 12:16:27 +00:00
parent 7eaad89b31
commit 01ec35d68b
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ erase_border(border * b)
if (bp->next==b) np = &bp->next;
hp = &(*hp)->nexthash;
}
assert((*np && *hp) || !"error: border is not registered");
assert(*hp!=NULL || !"error: border is not registered");
if (np!=NULL) *np = b->next;
*hp = b->nexthash;
if (b->type->destroy) b->type->destroy(b);