Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 22188 → Rev 22189

/trunk/Scribus/scribus/pageitem_textframe.cpp
2249,7 → 2249,8
const GlyphCluster& nextCluster = glyphClusters[i + 1];
if (nextCluster.hasFlag(ScLayout_LineBoundary))
{
if (!current.glyphs[currentIndex].hasFlag(ScLayout_HyphenationPossible)
if (!current.glyphs[currentIndex].hasFlag(ScLayout_LineBoundary)
&& !current.glyphs[currentIndex].hasFlag(ScLayout_HyphenationPossible)
&& (itemText.text(a) != '-')
&& (itemText.text(a) != SpecialChars::SHYPHEN))
{