r21165 by jghali -
scribus-commit
scribus-commit at lists.scribus.net
Tue Apr 5 18:11:02 UTC 2016
Author: jghali
Date: Tue Apr 5 18:11:02 2016
New Revision: 21165
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21165
Log:
#13915: [scribusboxes] Crash when inserting frame jump
Modified:
trunk/Scribus/scribus/pageitem_textframe.cpp
Modified: trunk/Scribus/scribus/pageitem_textframe.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21165&path=/trunk/Scribus/scribus/pageitem_textframe.cpp
==============================================================================
--- trunk/Scribus/scribus/pageitem_textframe.cpp (original)
+++ trunk/Scribus/scribus/pageitem_textframe.cpp Tue Apr 5 18:11:02 2016
@@ -2556,6 +2556,7 @@
&& (itemText.text(a) == SpecialChars::LINEBREAK ||
itemText.text(a) == SpecialChars::FRAMEBREAK ||
itemText.text(a) == SpecialChars::COLBREAK)
+ && (current.line.lastRun - 1 >= 0)
&& !itemText.text(glyphRuns[current.line.lastRun - 1].lastChar()).isSpace()))
{
justifyLine(style, current);
More information about the scribus-commit
mailing list