fixed test4
[swftools.git] / lib / gfxpoly / poly.c
index 4459cbf..02193df 100644 (file)
@@ -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);