NSGattributes string fix.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@5552 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
richard 1999-12-17 07:06:29 +00:00
parent 2f7945b57f
commit 3dbcf1fb14
2 changed files with 10 additions and 0 deletions

View file

@ -200,6 +200,11 @@ _attributesAtIndexEffectiveRange(
if (index >= tmpLength)
{
if (index == tmpLength)
{
*_infoArray = index;
return nil;
}
[NSException raise: NSRangeException
format: @"index is out of range in function "
@"_attributesAtIndexEffectiveRange()"];