r22277 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Mon Dec 25 12:16:40 UTC 2017


Author: jghali
Date: Mon Dec 25 12:16:40 2017
New Revision: 22277

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22277
Log:
fix typo in variable name

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

Modified: trunk/Scribus/scribus/text/storytext.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22277&path=/trunk/Scribus/scribus/text/storytext.cpp
==============================================================================
--- trunk/Scribus/scribus/text/storytext.cpp	(original)
+++ trunk/Scribus/scribus/text/storytext.cpp	Mon Dec 25 12:16:40 2017
@@ -1767,8 +1767,8 @@
 	it->setText((const UChar*) plainText().utf16());
 	int start = it->preceding(pos + 1);
 	int end = it->next();
-	int wordLentgh = end - start;
-	select(start, wordLentgh);
+	int wordLength = end - start;
+	select(start, wordLength);
 	return start;
 }
 




More information about the scribus-commit mailing list