git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14687 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
CaS 2002-10-09 11:00:03 +00:00
parent 1941b1680b
commit 1fb376c1d1
2 changed files with 10 additions and 0 deletions

View file

@ -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)
{

View file

@ -2217,6 +2217,7 @@ static BOOL snuggleStart(NSString *t)
[str appendString: @"\"></author>\n"];
[str appendString: @" </head>\n"];
[str appendString: @" <body>\n"];
[str appendString: @" <front><contents /></front>\n"];
[str appendString: @" </body>\n"];
[str appendString: @"</gsdoc>\n"];
}