Author: jghali
Date: Mon Jun 24 22:13:06 2013
New Revision: 18338

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18338
Log:
#11611: crash when pasting frame

Modified:
    trunk/Scribus/scribus/pageitem.cpp

Modified: trunk/Scribus/scribus/pageitem.cpp
URL: 
http://scribus.net/websvn/diff.php?repname=Scribus&rev=18338&path=/trunk/Scribus/scribus/pageitem.cpp
==============================================================================
--- trunk/Scribus/scribus/pageitem.cpp (original)
+++ trunk/Scribus/scribus/pageitem.cpp Mon Jun 24 22:13:06 2013
@@ -1195,7 +1195,7 @@
 {
        if (this->nextInChain() )
                return false;
-       if (nxt->prevInChain() )
+       if (!nxt || nxt->prevInChain() )
                return false;
        for (PageItem* ff=nxt; ff; ff=ff->nextInChain())
        {


_______________________________________________
scribus-commit mailing list
[email protected]
http://lists.scribus.net/mailman/listinfo/scribus-commit

Reply via email to