Set the next character index correctly after the run-merge optimization.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16064 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Alexander Malmberg 2003-02-24 14:26:22 +00:00
parent 5e1795f0b9
commit 466d7f8af7
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2003-02-24 15:24 Alexander Malmberg <alexander@malmberg.org>
* Source/GSLayoutManager.m (-invalidateGlyphsForCharacterRange:
changeInLength:actualCharacterRange:): Set the next character index
correctly after the run-merge optimization.
2003-02-24 03:49 Alexander Malmberg <alexander@malmberg.org>
* Source/GSLayoutManager.m (-_glyphForCharacter:index:positions::):

View file

@ -1259,7 +1259,7 @@ places where we switch.
new->head.complete = 0;
}
new->head.char_length += rng.length;
ch += new->head.char_length;
ch = NSMaxRange(rng);
continue;
}