r23447 by jghali - Small fix for comment

scribus-commit scribus-commit at lists.scribus.net
Sat Jan 11 23:56:08 UTC 2020


Author: jghali
Date: Sat Jan 11 23:56:08 2020
New Revision: 23447

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23447
Log:
Small fix for comment

Modified:
    trunk/Scribus/scribus/sccolorengine.cpp

Modified: trunk/Scribus/scribus/sccolorengine.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23447&path=/trunk/Scribus/scribus/sccolorengine.cpp
==============================================================================
--- trunk/Scribus/scribus/sccolorengine.cpp	(original)
+++ trunk/Scribus/scribus/sccolorengine.cpp	Sat Jan 11 23:56:08 2020
@@ -585,9 +585,9 @@
 		hsv.v = 1.0 - (1.0 - hsv.v) * (level / 100.0);
 		hsv.toRgb(rgb);
 		//We could also compute rgb shade using rgb directly
-		/*rgb.r = 1.0 - ((1.0 - color.m_values[0]) * level / 100);
-		rgb.g = 1.0 - ((1.0 - color.m_values[1]) * level / 100);
-		rgb.b = 1.0 - ((1.0 - color.m_values[2]) * level / 100);*/
+		/*rgb.r = 1.0 - ((1.0 - color.m_values[0]) * level / 100.0);
+		rgb.g = 1.0 - ((1.0 - color.m_values[1]) * level / 100.0);
+		rgb.b = 1.0 - ((1.0 - color.m_values[2]) * level / 100.0);*/
 	}
 	else if (color.getColorModel() == colorModelLab)
 	{




More information about the scribus-commit mailing list