r23884 by jghali - Code style fix

scribus-commit scribus-commit at lists.scribus.net
Thu Jun 4 22:24:47 UTC 2020


Author: jghali
Date: Thu Jun  4 22:24:47 2020
New Revision: 23884

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23884
Log:
Code style fix

Modified:
    trunk/Scribus/scribus/ui/cpalette.cpp

Modified: trunk/Scribus/scribus/ui/cpalette.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23884&path=/trunk/Scribus/scribus/ui/cpalette.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/cpalette.cpp	(original)
+++ trunk/Scribus/scribus/ui/cpalette.cpp	Thu Jun  4 22:24:47 2020
@@ -1181,8 +1181,8 @@
 		else if (gradientType->currentIndex() == 5)
 		{
 			stackedWidget_2->setCurrentIndex(2);
-			if ((currentItem->selectedMeshPointX > -1) &&
-				(currentItem->selectedMeshPointY > -1L)) {
+			if ((currentItem->selectedMeshPointX > -1) && (currentItem->selectedMeshPointY > -1L))
+			{
 				MeshPoint mp = currentItem->meshGradientArray[currentItem->selectedMeshPointX][currentItem->selectedMeshPointY];
 				setCurrentComboItem(colorMeshPoint, mp.colorName);
 				shadeMeshPoint->setValue(mp.shade);




More information about the scribus-commit mailing list