r19098 by craig - Set default values of 0.0 to pattern double variables

scribus-commit scribus-commit at lists.scribus.net
Wed May 7 19:32:23 UTC 2014


Author: craig
Date: Wed May  7 19:32:23 2014
New Revision: 19098

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19098
Log:
Set default values of 0.0 to pattern double variables

Modified:
    trunk/Scribus/scribus/pdflib_core.cpp

Modified: trunk/Scribus/scribus/pdflib_core.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19098&path=/trunk/Scribus/scribus/pdflib_core.cpp
==============================================================================
--- trunk/Scribus/scribus/pdflib_core.cpp (original)
+++ trunk/Scribus/scribus/pdflib_core.cpp Wed May  7 19:32:23 2014
@@ -6590,7 +6590,7 @@
 			mpa.rotate(-currItem->rotation());
 		}
 	}
-	double patternScaleX, patternScaleY, patternOffsetX, patternOffsetY, patternRotation, patternSkewX, patternSkewY, patternSpace;
+	double patternScaleX=0.0, patternScaleY=0.0, patternOffsetX=0.0, patternOffsetY=0.0, patternRotation=0.0, patternSkewX=0.0, patternSkewY=0.0, patternSpace=0.0;
 	bool mirrorX=false, mirrorY=false;
 	if (kind == 0)
 	{




More information about the scribus-commit mailing list