Skip to content
This repository has been archived by the owner on Nov 12, 2020. It is now read-only.

Commit

Permalink
Fixed insertAttributedString:atIndex, atIndex now an unsigned.
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen committed Mar 11, 2009
1 parent cc8f8fe commit a2ac715
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Foundation/CPAttributedString.j
Expand Up @@ -655,7 +655,7 @@
@param anIndex the index at which the insert is to occur.
@exception CPRangeException If the index is out of bounds.
*/
- (void)insertAttributedString:(CPAttributedString)aString atIndex:(CPString)anIndex
- (void)insertAttributedString:(CPAttributedString)aString atIndex:(unsigned)anIndex
{
[self beginEditing];

Expand Down Expand Up @@ -828,3 +828,4 @@ var splitRangeEntry = function splitRangeEntryAtIndex(/*RangeEntry*/aRangeEntry,

return [aRangeEntry, newRangeEntry];
}

0 comments on commit a2ac715

Please sign in to comment.