r18335 by jghali - #11606: column jump jumps 2 column

scribus-commit scribus-commit at lists.scribus.net
Thu Jun 20 23:50:40 UTC 2013


Author: jghali
Date: Thu Jun 20 23:50:40 2013
New Revision: 18335

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18335
Log:
#11606: column jump jumps 2 column

Modified:
    trunk/Scribus/scribus/pageitem_textframe.cpp

Modified: trunk/Scribus/scribus/pageitem_textframe.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18335&path=/trunk/Scribus/scribus/pageitem_textframe.cpp
==============================================================================
--- trunk/Scribus/scribus/pageitem_textframe.cpp (original)
+++ trunk/Scribus/scribus/pageitem_textframe.cpp Thu Jun 20 23:50:40 2013
@@ -2898,7 +2898,9 @@
 					}
 					else
 					{
-						MaxChars = a;
+						MaxChars = a; // Always a+1???
+						if (hl->ch == SpecialChars::COLBREAK)
+							++MaxChars;
 						goto NoRoom;
 					}
 				}




More information about the scribus-commit mailing list