Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 5365 → Rev 5364

/branches/Version13x/Scribus/scribus/text/storytext.cpp
108,12 → 108,10
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);