r21821 by jghali - remove unnecessary parenthesis

scribus-commit scribus-commit at lists.scribus.net
Sun Mar 12 23:04:22 UTC 2017


Author: jghali
Date: Sun Mar 12 23:04:22 2017
New Revision: 21821

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21821
Log:
remove unnecessary parenthesis

Modified:
    trunk/Scribus/scribus/text/boxes.cpp

Modified: trunk/Scribus/scribus/text/boxes.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21821&path=/trunk/Scribus/scribus/text/boxes.cpp
==============================================================================
--- trunk/Scribus/scribus/text/boxes.cpp	(original)
+++ trunk/Scribus/scribus/text/boxes.cpp	Sun Mar 12 23:04:22 2017
@@ -41,7 +41,7 @@
 			return firstLine->firstChar();
 
 		LineBox* lastLine = dynamic_cast<LineBox*>(m_boxes.last());
-		if (lastLine && (coord.y() > (lastLine->y() + lastLine->naturalHeight())))
+		if (lastLine && (coord.y() > lastLine->y() + lastLine->naturalHeight()))
 			return lastLine->lastChar() + 1;
 	}
 




More information about the scribus-commit mailing list