git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37ae23b
)
fixed test4
author
Matthias Kramm
<kramm@quiss.org>
Wed, 7 Apr 2010 01:37:26 +0000
(18:37 -0700)
committer
Matthias Kramm
<kramm@quiss.org>
Wed, 7 Apr 2010 01:37:26 +0000
(18:37 -0700)
lib/gfxpoly/poly.c
patch
|
blob
|
history
diff --git
a/lib/gfxpoly/poly.c
b/lib/gfxpoly/poly.c
index
4459cbf
..
02193df
100644
(file)
--- 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);