From: kramm Date: Sun, 16 Apr 2006 13:35:12 +0000 (+0000) Subject: don't increase the swfid for shapes which are cancelled X-Git-Tag: release-0-8-0~230 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=330211ec4f43c425e65583af4bd12b4679aeeef1 don't increase the swfid for shapes which are cancelled --- diff --git a/lib/devices/swf.c b/lib/devices/swf.c index 0c67c97..1ca808b 100644 --- a/lib/devices/swf.c +++ b/lib/devices/swf.c @@ -1005,6 +1005,8 @@ void cancelshape(gfxdevice_t*dev) if(i->shape) {swf_ShapeFree(i->shape);i->shape=0;} i->shapeid = -1; i->bboxrectpos = -1; + + i->currentswfid--; } void fixAreas(gfxdevice_t*dev)