r25051 by craig - Fix bad copy/paste

scribus-commit scribus-commit at lists.scribus.net
Wed Mar 23 20:54:08 UTC 2022


Author: craig
Date: Wed Mar 23 20:54:08 2022
New Revision: 25051

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=25051
Log:
Fix bad copy/paste

Modified:
    trunk/Scribus/scribus/pageitem_line.cpp

Modified: trunk/Scribus/scribus/pageitem_line.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=25051&path=/trunk/Scribus/scribus/pageitem_line.cpp
==============================================================================
--- trunk/Scribus/scribus/pageitem_line.cpp	(original)
+++ trunk/Scribus/scribus/pageitem_line.cpp	Wed Mar 23 20:54:08 2022
@@ -387,7 +387,7 @@
 
 QRectF PageItem_Line::getEndArrowBoundingRect() const
 {
-	if (m_startArrowIndex == 0)
+	if (m_endArrowIndex == 0)
 		return QRectF();
 	QTransform arrowTrans;
 	FPointArray arrow = m_Doc->arrowStyles().at(m_endArrowIndex - 1).points.copy();
@@ -415,7 +415,7 @@
 
 QRectF PageItem_Line::getEndArrowOldBoundingRect() const
 {
-	if (m_startArrowIndex == 0)
+	if (m_endArrowIndex == 0)
 		return QRectF();
 	QTransform arrowTrans;
 	FPointArray arrow = m_Doc->arrowStyles().at(m_endArrowIndex - 1).points.copy();




More information about the scribus-commit mailing list