r15808 by craig - Fix compile error

scribus-commit scribus-commit at lists.scribus.net
Sun Nov 7 20:27:15 CET 2010


Author: craig
Date: Sun Nov  7 19:27:15 2010
New Revision: 15808

URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=15808
Log:
Fix compile error

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

Modified: trunk/Scribus/scribus/text/storytext.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=15808&path=/trunk/Scribus/scribus/text/storytext.cpp
==============================================================================
--- trunk/Scribus/scribus/text/storytext.cpp (original)
+++ trunk/Scribus/scribus/text/storytext.cpp Sun Nov  7 19:27:15 2010
@@ -986,7 +986,7 @@
 	if (pos < 0)
 		pos += length();
 	assert(pos >= 0);
-//	assert(pos + signed(len) <= length());
+	assert(pos <= length());
 
 	int len = length();
 	//Find the previous word position




More information about the scribus-commit mailing list