I got a copy of the source for SwfTools version 0.6.3 and when I was building it I noticed the following code starting at line 125 in the file drawer.c
 
 else if(!strncmp(token, "circle", 6)) {
     int mx,my,r;
     double r2 = 0.70710678118654757*r;
     mx = atoi(getToken(&p));
     my = atoi(getToken(&p));
     r = atoi(getToken(&p));
     draw_moveTo2(draw, mx, my-r);
     draw_conicTo2(draw, mx+r2, my-r2, mx+r, my);
     draw_conicTo2(draw, mx+r2, my+r2, mx, my+r);
     draw_conicTo2(draw, mx-r2, my+r2, mx-r, my);
     draw_conicTo2(draw, mx-r2, my-r2, mx, my-r);
 }
 
Note that in the assignment of r2, the variable r is used before it as been assigned a value.  I assume that line should be moved to immediately after the assignement of r.
 
Keith Trummel
_______________________________________________
Swftools-common mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/swftools-common

Reply via email to