X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fgfxpoly%2Fconvert.c;h=9f54542602f7b64a299b41c0bce8bfc2944e1cf9;hp=9cd560c9dbd0b12b269a686edb8bc1075c379f7c;hb=34ea6c36c2a3377546d0e8038f0d4f43b5e3cb6f;hpb=d966a4b935a597e9acd2502ca1e5ffaff51fa418 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);