mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 06:15:16 +00:00
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:
parent
44e18e9107
commit
0c6940f5ca
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user