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

[XaraXtreme-commits] Commit Complete



Commit by  : alex
Repository : xara
Revision   : 901
Date       : Wed Apr 26 16:39:27 BST 2006

Changed paths:
   M /Trunk/XaraLX/Kernel/slicehelper.cpp

Fix assert on translate drag


Diff:
Index: Trunk/XaraLX/Kernel/slicehelper.cpp
===================================================================
--- Trunk/XaraLX/Kernel/slicehelper.cpp	(revision 900)
+++ Trunk/XaraLX/Kernel/slicehelper.cpp	(revision 901)
@@ -3045,6 +3045,8 @@
 {
 	// Get a pointer to the NameGallery, and make sure it is up-to-date
 	NameGallery *pNameGallery = NameGallery::Instance();
+	if (!pNameGallery)
+		return TRUE;
 	pNameGallery->FastUpdateNamedSetSizes();
 
 	//Get the first entry in the 'UsedNames' field of the NameGallery


Xara