r18641 by fschmid - Fix typo in mask handling.

scribus-commit scribus-commit at lists.scribus.net
Wed Dec 11 21:51:34 UTC 2013


Author: fschmid
Date: Wed Dec 11 21:51:34 2013
New Revision: 18641

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18641
Log:
Fix typo in mask handling.

Modified:
    trunk/Scribus/scribus/plugins/svgexplugin/svgexplugin.cpp

Modified: trunk/Scribus/scribus/plugins/svgexplugin/svgexplugin.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18641&path=/trunk/Scribus/scribus/plugins/svgexplugin/svgexplugin.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/svgexplugin/svgexplugin.cpp (original)
+++ trunk/Scribus/scribus/plugins/svgexplugin/svgexplugin.cpp Wed Dec 11 21:51:34 2013
@@ -1860,7 +1860,7 @@
 		}
 		else if ((Item->GrMask == 1) || (Item->GrMask == 2) || (Item->GrMask == 4) || (Item->GrMask == 5))
 		{
-			if ((Item->GrMask == 6) || (Item->GrMask == 4))
+			if ((Item->GrMask == 1) || (Item->GrMask == 4))
 			{
 				grad = docu.createElement("linearGradient");
 				grad.setAttribute("x1", FToStr(Item->GrMaskStartX));




More information about the scribus-commit mailing list