Follow Richard's changes to GSAttributedString in base.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31110 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fredkiefer 2010-08-10 19:53:47 +00:00
parent 2b0602d6d3
commit 95142e19e2
2 changed files with 13 additions and 4 deletions

View file

@ -646,8 +646,10 @@ _attributesAtIndexEffectiveRange(
- (void) setAttributes: (NSDictionary*)attributes
range: (NSRange)range
{
unsigned tmpLength, arrayIndex, arraySize;
NSRange effectiveRange;
unsigned tmpLength;
unsigned arrayIndex = 0;
unsigned arraySize;
NSRange effectiveRange = NSMakeRange(0, NSNotFound);
NSRange originalRange = range;
unsigned afterRangeLoc, beginRangeLoc;
NSDictionary *attrs;
@ -776,8 +778,10 @@ changeInLength: 0];
- (void) replaceCharactersInRange: (NSRange)range
withString: (NSString*)aString
{
unsigned tmpLength, arrayIndex, arraySize;
NSRange effectiveRange;
unsigned tmpLength;
unsigned arrayIndex = 0;
unsigned arraySize;
NSRange effectiveRange = NSMakeRange(0, NSNotFound);
NSDictionary *attrs;
GSTextInfo *info;
int moveLocations;