Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 5364 → Rev 5365

/branches/Version13x/Scribus/scribus/text/storytext.cpp
108,10 → 108,12
if (pos < 0)
pos += length();
 
assert(txt.length() > 0);
assert(pos >= 0);
assert(pos <= length());
if (txt.length() == 0)
return;
const CharStyle style = pos == length() ? doc->docParagraphStyles[0].charStyle() : charStyle(pos);
assert(style.cfont != NULL);