Various indexing bugfixes

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@11783 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2001-12-17 09:49:08 +00:00
parent 53a3bac0df
commit f6b39caa75
2 changed files with 4 additions and 3 deletions

View file

@ -731,7 +731,7 @@ NSLog(@"Element '%@' not implemented", name); // FIXME
[buf appendString: indent];
[buf appendString: @"<h3>"];
s = [self makeLink: sel ofType: @"method" inUnit: nil isRef: NO];
if (s == nil)
if (s != nil)
{
[buf appendString: s];
[buf appendString: [sel substringFromIndex: 1]];
@ -1222,7 +1222,8 @@ NSLog(@"Element '%@' not implemented", name); // FIXME
{
[buf appendString: indent];
[buf appendString: @"<li>"];
[buf appendString: [self makeLink: s ofType: @"method" isRef: YES]];
[buf appendString:
[self makeLink: s ofType: @"method" inUnit: unit isRef: YES]];
[buf appendString: s];
[buf appendString: @"</a></li>\n"];
}

View file

@ -453,7 +453,7 @@ setDirectory(NSMutableDictionary *dict, NSString *path)
t = [refs objectForKey: type];
t = [t objectForKey: ref];
return [t objectForKey: unit];
return [t objectForKey: u];
}
@end