don't increase the swfid for shapes which are cancelled
authorkramm <kramm>
Sun, 16 Apr 2006 13:35:12 +0000 (13:35 +0000)
committerkramm <kramm>
Sun, 16 Apr 2006 13:35:12 +0000 (13:35 +0000)
lib/devices/swf.c

index 0c67c97..1ca808b 100644 (file)
@@ -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)