Another SimpleVector nuked.
This commit is contained in:
@ -1440,8 +1440,8 @@ int Textblock::hyphenateWord (int wordIndex, int *addIndex1)
|
||||
moveWordIndices (wordIndex, numBreaks, addIndex1);
|
||||
|
||||
// Adjust anchor indexes.
|
||||
for (int i = 0; i < anchors->size (); i++) {
|
||||
Anchor *anchor = anchors->getRef (i);
|
||||
for (int i = 0; i < anchors.size (); i++) {
|
||||
Anchor *anchor = &anchors.at (i);
|
||||
if (anchor->wordIndex > wordIndex)
|
||||
anchor->wordIndex += numBreaks;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user