Minor changes for baseadd compilation and compiler warnings.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18394 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2004-01-12 19:42:18 +00:00
parent 443a569cba
commit 831216a9fe
7 changed files with 34 additions and 5 deletions

View file

@ -1574,13 +1574,13 @@ static NSMutableSet *textNodes = nil;
}
else if ([name isEqual: @"protocol"] == YES)
{
NSString *name = [prop objectForKey: @"name"];
NSString *value = [prop objectForKey: @"name"];
unit = [NSString stringWithFormat: @"(%@)", name];
unit = [NSString stringWithFormat: @"(%@)", value];
[buf appendString: indent];
[buf appendString: @"<h2>"];
[buf appendString:
[self makeAnchor: unit ofType: @"protocol" name: name]];
[self makeAnchor: unit ofType: @"protocol" name: value]];
[buf appendString: @"</h2>\n"];
[self outputUnit: node to: buf];
unit = nil;