From a807d2eb25fb005402b33a8eef202b33a331e098 Mon Sep 17 00:00:00 2001 From: alexm Date: Mon, 24 Feb 2003 14:26:22 +0000 Subject: [PATCH] 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 --- ChangeLog | 6 ++++++ Source/GSLayoutManager.m | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 837f9c29f..7afb1dc6b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-02-24 15:24 Alexander Malmberg + + * Source/GSLayoutManager.m (-invalidateGlyphsForCharacterRange: + changeInLength:actualCharacterRange:): Set the next character index + correctly after the run-merge optimization. + 2003-02-24 03:49 Alexander Malmberg * Source/GSLayoutManager.m (-_glyphForCharacter:index:positions::): diff --git a/Source/GSLayoutManager.m b/Source/GSLayoutManager.m index 1f1358ff6..1d56b8215 100644 --- a/Source/GSLayoutManager.m +++ b/Source/GSLayoutManager.m @@ -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; }