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

[XaraXtreme-commits] Commit Complete



Commit by  : alex
Repository : xara
Revision   : 1604
Date       : Sat Jul 29 18:14:46 BST 2006

Changed paths:
   M /Trunk/XaraLX/Kernel/colormgr.cpp
   M /Trunk/XaraLX/wxOil/camview.cpp

More valgrindism


Diff:
Index: Trunk/XaraLX/Kernel/colormgr.cpp
===================================================================
--- Trunk/XaraLX/Kernel/colormgr.cpp	(revision 1603)
+++ Trunk/XaraLX/Kernel/colormgr.cpp	(revision 1604)
@@ -2870,7 +2870,7 @@
 ActionHideColours::~ActionHideColours()
 {
 	if (ChangeColour != NULL)
-		delete ChangeColour;
+		delete [] ChangeColour;
 }
 
 
Index: Trunk/XaraLX/wxOil/camview.cpp
===================================================================
--- Trunk/XaraLX/wxOil/camview.cpp	(revision 1603)
+++ Trunk/XaraLX/wxOil/camview.cpp	(revision 1604)
@@ -2736,7 +2736,7 @@
 	Status->RulersVisible = Show;
 
 	// call OnSize directly to force new layout	
-	wxSize Size;
+	wxSize Size=wxDefaultSize;
 	m_pFrame->GetSize(&Size.x, &Size.y);
 	wxSizeEvent evSize(Size, 0);
 	OnSize(evSize);


Xara