mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +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
|
@ -1,3 +1,8 @@
|
|||
Fri Dec 17 7:03:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||||
|
||||
* Source/NSGAttributedString.m: Patch (slightly modified) by Adam Fedor
|
||||
to permit setting attributes on an empty string (as a no-op).
|
||||
|
||||
Wed Dec 15 18:50:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||||
|
||||
* Source/NSHost.m: Update again - record current host name for duration
|
||||
|
|
|
@ -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…
Reference in a new issue