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

[XaraXtreme-commits] Commit Complete



Commit by  : gerry
Repository : xara
Revision   : 768
Date       : Wed Apr  5 10:20:38 BST 2006

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

Bug fix copied from Xtreme source


Diff:
Index: Trunk/XaraLX/Kernel/sglayer.cpp
===================================================================
--- Trunk/XaraLX/Kernel/sglayer.cpp	(revision 767)
+++ Trunk/XaraLX/Kernel/sglayer.cpp	(revision 768)
@@ -1875,8 +1875,8 @@
 					NewGuideLayerState = GetGuideLayerState(Msg->pNewDocView);
 					if (OldGuideLayerState != NewGuideLayerState)
 					{
-TRACEUSER( "Neville", _T("DocViewMsg::DocViewState::SELCHANGED CreateNewSubtree
"));
-						CreateNewSubtree(Msg->pNewDocView->GetDoc());
+						TRACEUSER( "Neville", _T("DocViewMsg::DocViewState::SELCHANGED CreateNewSubtree
"));
+						CreateNewSubtree(Msg->pNewDocView ? Msg->pNewDocView->GetDoc() ? NULL);
 						ForceRedrawOfList();
 					}
 				}


Xara