r20788 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Sat Jan 30 16:27:06 UTC 2016


Author: jghali
Date: Sat Jan 30 16:27:06 2016
New Revision: 20788

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20788
Log:
coverity #1350795, uninitialized scalar field

Modified:
    trunk/Scribus/scribus/sccolor.cpp

Modified: trunk/Scribus/scribus/sccolor.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20788&path=/trunk/Scribus/scribus/sccolor.cpp
==============================================================================
--- trunk/Scribus/scribus/sccolor.cpp	(original)
+++ trunk/Scribus/scribus/sccolor.cpp	Sat Jan 30 16:27:06 2016
@@ -66,9 +66,15 @@
 	m_Spot = false;
 	m_Regist = false;
 	m_Model = colorModelLab;
+
 	m_L_val = l;
 	m_a_val = a;
 	m_b_val = b;
+
+	m_CR = 150;
+	m_MG = 100;
+	m_YB = 50;
+	m_K = 0;
 }
 
 bool ScColor::operator==(const ScColor& other) const




More information about the scribus-commit mailing list