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 Frith-MacDonald 1999-12-17 07:06:29 +00:00
parent 34094a0a23
commit 0491ec2f90
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()"];