From c449ab42b7b8cce507fc245122cd9005b300c3b9 Mon Sep 17 00:00:00 2001 From: CaS Date: Mon, 17 Dec 2001 09:49:08 +0000 Subject: [PATCH] Various indexing bugfixes git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@11783 72102866-910b-0410-8b05-ffd578937521 --- Tools/AGSHtml.m | 5 +++-- Tools/AGSIndex.m | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Tools/AGSHtml.m b/Tools/AGSHtml.m index f257ad455..c6091cb02 100644 --- a/Tools/AGSHtml.m +++ b/Tools/AGSHtml.m @@ -731,7 +731,7 @@ NSLog(@"Element '%@' not implemented", name); // FIXME [buf appendString: indent]; [buf appendString: @"

"]; 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: @"
  • "]; - [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: @"
  • \n"]; } diff --git a/Tools/AGSIndex.m b/Tools/AGSIndex.m index 09f58f361..7373e4181 100644 --- a/Tools/AGSIndex.m +++ b/Tools/AGSIndex.m @@ -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