More layout fixes

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12608 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
CaS 2002-02-20 19:39:15 +00:00
parent d18dff286c
commit b5dad7bf50
3 changed files with 270 additions and 124 deletions

View file

@ -1520,7 +1520,7 @@ static NSNotificationCenter *nc;
return;
}
charRange = NSMakeRange (_selected_range.location, 1);
charRange = NSMakeRange (_selected_range.location, 0);
glyphRange = [_layoutManager glyphRangeForCharacterRange: charRange
actualCharacterRange: NULL];
glyphIndex = glyphRange.location;