From 7512d30cebc1989f52225728d2541dbb82df49ea Mon Sep 17 00:00:00 2001 From: Matthias Kramm Date: Tue, 6 Apr 2010 18:37:26 -0700 Subject: [PATCH] fixed test4 --- lib/gfxpoly/poly.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gfxpoly/poly.c b/lib/gfxpoly/poly.c index 4459cbf..02193df 100644 --- a/lib/gfxpoly/poly.c +++ b/lib/gfxpoly/poly.c @@ -196,7 +196,7 @@ char gfxpoly_check(gfxpoly_t*poly) if(count&1) { fprintf(stderr, "Point (%d,%d) occurs %d times\n", p->x, p->y, count); dict_destroy(d); - assert(count%2 == 0); + return 0; } } dict_destroy(d); -- 1.7.10.4