r23885 by jghali - Fix copy/paste error in 4 colors gradient save code

scribus-commit scribus-commit at lists.scribus.net
Thu Jun 11 09:56:15 UTC 2020


Author: jghali
Date: Thu Jun 11 09:56:15 2020
New Revision: 23885

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23885
Log:
Fix copy/paste error in 4 colors gradient save code

Modified:
    trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format_save.cpp

Modified: trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format_save.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23885&path=/trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format_save.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format_save.cpp	(original)
+++ trunk/Scribus/scribus/plugins/fileloader/scribus150format/scribus150format_save.cpp	Thu Jun 11 09:56:15 2020
@@ -1976,9 +1976,9 @@
 						docu.writeAttribute("GRCOLT3" , item->GrCol3transp);
 						docu.writeAttribute("GRCOLT4" , item->GrCol4transp);
 						docu.writeAttribute("GRCOLS1" , item->GrCol1Shade);
-						docu.writeAttribute("GRCOLS2" , item->GrCol1Shade);
-						docu.writeAttribute("GRCOLS3" , item->GrCol1Shade);
-						docu.writeAttribute("GRCOLS4" , item->GrCol1Shade);
+						docu.writeAttribute("GRCOLS2" , item->GrCol2Shade);
+						docu.writeAttribute("GRCOLS3" , item->GrCol3Shade);
+						docu.writeAttribute("GRCOLS4" , item->GrCol4Shade);
 					}
 				}
 			}




More information about the scribus-commit mailing list