r23659 by jghali - Typo fixes

scribus-commit scribus-commit at lists.scribus.net
Sun Apr 26 17:49:33 UTC 2020


Author: jghali
Date: Sun Apr 26 17:49:32 2020
New Revision: 23659

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23659
Log:
Typo fixes

Modified:
    trunk/Scribus/scribus/pageitem_textframe.cpp
    trunk/Scribus/scribus/text/storytext.cpp

Modified: trunk/Scribus/scribus/pageitem_textframe.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23659&path=/trunk/Scribus/scribus/pageitem_textframe.cpp
==============================================================================
--- trunk/Scribus/scribus/pageitem_textframe.cpp	(original)
+++ trunk/Scribus/scribus/pageitem_textframe.cpp	Sun Apr 26 17:49:32 2020
@@ -1806,7 +1806,7 @@
 					{
 						if (style.direction() == ParagraphStyle::RTL)
 						{
-							//use rightIndent to not miss with old behavior
+							// use rightIndent to not mess with old behavior
 							current.rightIndent = style.firstIndent();
 							// line width should consider RTL indent when it breaks the line.
 							current.mustLineEnd = current.colRight - style.firstIndent();

Modified: trunk/Scribus/scribus/text/storytext.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23659&path=/trunk/Scribus/scribus/text/storytext.cpp
==============================================================================
--- trunk/Scribus/scribus/text/storytext.cpp	(original)
+++ trunk/Scribus/scribus/text/storytext.cpp	Sun Apr 26 17:49:32 2020
@@ -998,7 +998,7 @@
 
 bool StoryText::isBlockStart(int pos) const 
 {
-	return pos  == 0 || text(pos-1) == SpecialChars::PARSEP;
+	return pos == 0 || text(pos-1) == SpecialChars::PARSEP;
 }
 
 




More information about the scribus-commit mailing list