From 330211ec4f43c425e65583af4bd12b4679aeeef1 Mon Sep 17 00:00:00 2001 From: kramm Date: Sun, 16 Apr 2006 13:35:12 +0000 Subject: [PATCH] don't increase the swfid for shapes which are cancelled --- lib/devices/swf.c | 2 ++ 1 file changed, 2 insertions(+) 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) -- 1.7.10.4