[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

[XaraXtreme-commits] Commit Complete



Commit by  : alex
Repository : xara
Revision   : 1260
Date       : Tue Jun  6 12:55:38 BST 2006

Changed paths:
   M /Trunk/XaraLX/Kernel/cxftext.cpp
   M /Trunk/XaraLX/Kernel/nodeblnd.cpp
   M /Trunk/XaraLX/wxOil/oilprefs.cpp

Fixed compilation warnings


Diff:
Index: Trunk/XaraLX/Kernel/nodeblnd.cpp
===================================================================
--- Trunk/XaraLX/Kernel/nodeblnd.cpp	(revision 1259)
+++ Trunk/XaraLX/Kernel/nodeblnd.cpp	(revision 1260)
@@ -1392,7 +1392,7 @@
 			{
 				BOOL bFinish = FALSE;
 				Node* pNodeToRender = pStart;
-				DocCoord FirstPoint;
+				DocCoord FirstPoint(0,0);
 				while (bFinish == FALSE)
 				{
 
Index: Trunk/XaraLX/Kernel/cxftext.cpp
===================================================================
--- Trunk/XaraLX/Kernel/cxftext.cpp	(revision 1259)
+++ Trunk/XaraLX/Kernel/cxftext.cpp	(revision 1260)
@@ -496,7 +496,7 @@
 
 	if (pAttrMap != NULL)
 	{
-		void* pValue;
+		void* pValue=NULL;
 		pAttrMap->Lookup(CC_RUNTIME_CLASS(AttrTxtFontTypeface),pValue);
 		if (pValue != NULL)
 		{
Index: Trunk/XaraLX/wxOil/oilprefs.cpp
===================================================================
--- Trunk/XaraLX/wxOil/oilprefs.cpp	(revision 1259)
+++ Trunk/XaraLX/wxOil/oilprefs.cpp	(revision 1260)
@@ -190,7 +190,7 @@
 {
 	wxString strKey = _T("/Options/") + wxString(Section) + _T("/") + wxString(PrefName);
 
-	BOOL Worked;
+	BOOL Worked=FALSE;
 
 	switch (Type)
 	{


Xara