From 01ec35d68bc6dd40484cd4373a64be469c010839 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 7 Feb 2004 12:16:27 +0000 Subject: [PATCH] bugfix erase_border - assert anpassen --- src/common/kernel/border.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/kernel/border.c b/src/common/kernel/border.c index 2f4ea0e9a..a227a97b7 100644 --- a/src/common/kernel/border.c +++ b/src/common/kernel/border.c @@ -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);