mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
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:
parent
34094a0a23
commit
0491ec2f90
2 changed files with 10 additions and 0 deletions
|
@ -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()"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue