SWORD25: Fix for using uninitialised doubles

svn-id: r53324
This commit is contained in:
Paul Gilbert 2010-09-06 00:52:18 +00:00 committed by Eugene Sandulenko
parent 7db8be5d4d
commit b922b58f8d

View File

@ -191,7 +191,7 @@ Common::Rect flashRectToBSRect(VectorImage::SWFBitStream &bs) {
// -----------------------------------------------------------------------------
Common::Rect CalculateBoundingBox(const VectorImageElement &vectorImageElement) {
double x0, y0, x1, y1;
double x0 = 0.0, y0 = 0.0, x1 = 0.0, y1 = 0.0;
for (int j = vectorImageElement.getPathCount() - 1; j >= 0; j--) {
ArtBpath *bez = vectorImageElement.getPathInfo(j).getVec();