Revision: 7473
http://mahogany.svn.sourceforge.net/mahogany/?rev=7473&view=rev
Author: vadz
Date: 2008-05-04 18:28:51 -0700 (Sun, 04 May 2008)
Log Message:
-----------
fix crash when copying more than 1000 lines in wxLayoutLine::Copy() (bug 885)
Modified Paths:
--------------
trunk/M/src/gui/wxllist.cpp
Modified: trunk/M/src/gui/wxllist.cpp
===================================================================
--- trunk/M/src/gui/wxllist.cpp 2008-05-05 01:15:04 UTC (rev 7472)
+++ trunk/M/src/gui/wxllist.cpp 2008-05-05 01:28:51 UTC (rev 7473)
@@ -1738,7 +1738,7 @@
llist->Insert( (**i).Copy() );
// And now the last object:
- if(lastOffset != 0)
+ if(lastOffset != 0 && last != m_ObjectList.end())
{
if( (**last).GetType() == WXLO_TYPE_TEXT )
{
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates