stupid me...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26702 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-10-03 19:57:13 +00:00
parent 448f715831
commit 4f878b3566

View File

@ -412,7 +412,7 @@ void Changes::addToToc(DocIterator const & cdit, Buffer const & buffer) const
}
dit.pos() = it->range.start;
Paragraph const & par = dit.paragraph();
str += " " + par.asString(it->range.start, max(par.size(), it->range.end));
str += " " + par.asString(it->range.start, min(par.size(), it->range.end));
// FIXME: find an unicode character for carriage return presentation if
// present; i.e. when it->range.end > par.size()
docstring const & author = author_list.get(it->change.author).name();