r18845 by jghali - #12095: Crash when editing object nodes

scribus-commit scribus-commit at lists.scribus.net
Tue Feb 25 21:42:56 UTC 2014


Author: jghali
Date: Tue Feb 25 21:42:55 2014
New Revision: 18845

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18845
Log:
#12095: Crash when editing object nodes

Modified:
    branches/Version14x/Scribus/scribus/scribusdoc.cpp

Modified: branches/Version14x/Scribus/scribus/scribusdoc.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18845&path=/branches/Version14x/Scribus/scribus/scribusdoc.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/scribusdoc.cpp (original)
+++ branches/Version14x/Scribus/scribus/scribusdoc.cpp Tue Feb 25 21:42:55 2014
@@ -11264,7 +11264,7 @@
 void NodeEditContext::reset1Control(PageItem* currItem)
 {
 	ScribusDoc* Doc = currItem->doc();
-	if (ClRe % 2 == 0)
+	if ((ClRe < 0) || (ClRe % 2 == 0))
 		return;
 	UndoManager* undoManager = UndoManager::instance();
 




More information about the scribus-commit mailing list