X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fgfxpoly%2Fstroke.c;fp=lib%2Fgfxpoly%2Fstroke.c;h=b9ccb107380d003285c31a03fcbdde528e519f90;hp=9735c1be601a4c548fb1ea4082738772afe445ac;hb=a9634f803811f39e67114955c3e9c30ae247a669;hpb=98370d6c69a85a6b148939956d8edfb324a0740a diff --git a/lib/gfxpoly/stroke.c b/lib/gfxpoly/stroke.c index 9735c1b..b9ccb10 100644 --- a/lib/gfxpoly/stroke.c +++ b/lib/gfxpoly/stroke.c @@ -225,7 +225,7 @@ gfxpoly_t* gfxpoly_from_stroke(gfxline_t*line, gfxcoord_t width, gfx_capType cap gfxdrawer_target_poly(&d, gridsize); draw_stroke(line, &d, width, cap_style, joint_style, miterLimit); gfxpoly_t*poly = (gfxpoly_t*)d.result(&d); - assert(gfxpoly_check(poly)); + assert(gfxpoly_check(poly, 1)); gfxpoly_t*poly2 = gfxpoly_process(poly, 0, &windrule_circular, &onepolygon); gfxpoly_destroy(poly); return poly2;