From: Karsten Ballüder Date: Sun, 16 May 1999 23:42:31 +0000 (+0000) Subject: minor bug fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/3b4470ba7a39529306c7610ec1667c5aff35cf7a?ds=sidebyside minor bug fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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 ) {