Skip to content

Commit

Permalink
Initialize bounds, ensuring there are valid bounds even for a shape w…
Browse files Browse the repository at this point in the history
…ith no strokes. Partially fixes bug 439517.
  • Loading branch information
djcsdy committed Dec 3, 2009
2 parents 4160aba + f59b85a commit d179c28
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/SWFShapeMaker.cpp
Expand Up @@ -15,9 +15,10 @@ ShapeMaker::ShapeMaker( List<ShapeItem>* e, double fx, double fy, double ofsx, d
factory = fy;
offsetx = ofsx;
offsety = ofsy;
diffx = diffy = 0;
lastx = lasty = 0;
smoothx = smoothy = 0;
diffx = diffy = 0.0;
lastx = lasty = 0.0;
smoothx = smoothy = 0.0;
minx = miny = maxx = maxy = 0.0;
have_first = false;

fillStyle0 = lineStyle = fillStyle1 = -1;
Expand Down

0 comments on commit d179c28

Please sign in to comment.