From 03aa2b39178fab705d6a9be3df3416b9eff60b91 Mon Sep 17 00:00:00 2001 From: Richard Frith-Macdonald Date: Wed, 9 Oct 2002 11:00:03 +0000 Subject: [PATCH] Tidy git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14687 72102866-910b-0410-8b05-ffd578937521 --- Tools/AGSHtml.m | 9 +++++++++ Tools/AGSOutput.m | 1 + 2 files changed, 10 insertions(+) diff --git a/Tools/AGSHtml.m b/Tools/AGSHtml.m index 08f1d94c7..5156b4236 100644 --- a/Tools/AGSHtml.m +++ b/Tools/AGSHtml.m @@ -1458,6 +1458,15 @@ static NSMutableSet *textNodes = nil; else { s = [self makeLink: r ofType: type isRef: YES]; + /** + * As a special case, if we have a reference to a function, + * and we can't find it, we check to see if there is actually + * a macro of that name and refer to that instead. + */ + if (s == nil && [type isEqual: @"function"] == YES) + { + s = [self makeLink: r ofType: @"macro" isRef: YES]; + } } if (s == nil) { diff --git a/Tools/AGSOutput.m b/Tools/AGSOutput.m index 507e8a157..29505fe85 100644 --- a/Tools/AGSOutput.m +++ b/Tools/AGSOutput.m @@ -2217,6 +2217,7 @@ static BOOL snuggleStart(NSString *t) [str appendString: @"\">\n"]; [str appendString: @" \n"]; [str appendString: @" \n"]; + [str appendString: @" \n"]; [str appendString: @" \n"]; [str appendString: @"\n"]; }