This bug dates back to my cleanup of the Paragraph class; amazing that nobody noticed it before.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24891 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-05-22 22:04:38 +00:00
parent 44e18e9107
commit 0c6940f5ca

View File

@ -1212,7 +1212,7 @@ void Paragraph::appendString(docstring const & s, Font const & font,
d->text_.append(s);
// FIXME: Optimize this!
for (pos_type i = 0; i != end; ++i) {
for (pos_type i = oldsize; i != newsize; ++i) {
// track change
d->changes_.insert(change, i);
}