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:
CaS 2001-12-17 09:49:08 +00:00
parent 4083099aaf
commit c449ab42b7
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"];
}