X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fgfxpoly%2Fconvert.c;h=9f54542602f7b64a299b41c0bce8bfc2944e1cf9;hb=597fbcf83f70a40f693a486f3ada0b2294985358;hp=9cd560c9dbd0b12b269a686edb8bc1075c379f7c;hpb=ae2bbf404cbdf63152d22f1b0824468d04f8f8ce;p=swftools.git diff --git a/lib/gfxpoly/convert.c b/lib/gfxpoly/convert.c index 9cd560c..9f54542 100644 --- a/lib/gfxpoly/convert.c +++ b/lib/gfxpoly/convert.c @@ -133,7 +133,7 @@ void finish_segment(compactpoly_t*data) gfxpolystroke_t*s = rfx_calloc(sizeof(gfxpolystroke_t)); s->next = data->poly->strokes; data->poly->strokes = s; - s->num_points = data->num_points; + s->num_points = s->points_size = data->num_points; s->dir = data->dir; s->points = p; assert(data->dir != DIR_UNKNOWN);