From 3b4470ba7a39529306c7610ec1667c5aff35cf7a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Karsten=20Ball=C3=BCder?= Date: Sun, 16 May 1999 23:42:31 +0000 Subject: [PATCH] minor bug fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- user/wxLayout/wxllist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/wxLayout/wxllist.cpp b/user/wxLayout/wxllist.cpp index 9d55127fdd..9c687de6d9 100644 --- a/user/wxLayout/wxllist.cpp +++ b/user/wxLayout/wxllist.cpp @@ -1248,7 +1248,7 @@ wxLayoutLine::Copy(wxLayoutList *llist, wxLOiterator last = FindObject(to, &lastOffset); // Common special case: only one object - if( *first == *last ) + if( first != NULLIT && last != NULLIT && *first == *last ) { if( (**first).GetType() == WXLO_TYPE_TEXT ) { -- 2.47.2