r22908 by jghali - Revert unintended comparison change

scribus-commit scribus-commit at lists.scribus.net
Thu Mar 21 13:04:02 UTC 2019


Author: jghali
Date: Thu Mar 21 13:04:02 2019
New Revision: 22908

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22908
Log:
Revert unintended comparison change

Modified:
    trunk/Scribus/scribus/canvasmode_nodeedit.cpp

Modified: trunk/Scribus/scribus/canvasmode_nodeedit.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22908&path=/trunk/Scribus/scribus/canvasmode_nodeedit.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasmode_nodeedit.cpp	(original)
+++ trunk/Scribus/scribus/canvasmode_nodeedit.cpp	Thu Mar 21 13:04:02 2019
@@ -791,7 +791,7 @@
 
 		int numPoints = (StartInd != 0) ? (StartInd-4) : 0;
 		numPoints += (Clip.size() - EndInd);
-		if ((currItem->Segments.count() > 0) && ((EndInd - StartInd) < minClipSize) && (numPoints > 0))
+		if ((currItem->Segments.count() > 0) && ((EndInd - StartInd) <= minClipSize) && (numPoints > 0))
 		{
 			if (StartInd != 0)
 				cli.putPoints(0, StartInd-4, Clip);




More information about the scribus-commit mailing list