r21197 by jghali -
scribus-commit
scribus-commit at lists.scribus.net
Sat Apr 16 15:22:14 UTC 2016
Author: jghali
Date: Sat Apr 16 15:22:13 2016
New Revision: 21197
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21197
Log:
#13938: Orphans and widows line management leads to blank text frames depending on the size of the frame <patch provided by Oman team>
Modified:
trunk/Scribus/scribus/pageitem_textframe.cpp
Modified: trunk/Scribus/scribus/pageitem_textframe.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21197&path=/trunk/Scribus/scribus/pageitem_textframe.cpp
==============================================================================
--- trunk/Scribus/scribus/pageitem_textframe.cpp (original)
+++ trunk/Scribus/scribus/pageitem_textframe.cpp Sat Apr 16 15:22:13 2016
@@ -1237,7 +1237,7 @@
// push this paragraph to the next frame
for (int i = 0; i < pull; ++i)
textLayout.removeLastLine();
- MaxChars = textLayout.endOfFrame();
+ MaxChars = incompletePositions[incompleteLines-pull];
incompleteLines = 0;
incompletePositions.clear();
}
More information about the scribus-commit
mailing list