mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 08:41:03 +00:00
Add some default output if something is not described
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12020 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
81589b35ad
commit
65c5455e6f
2 changed files with 7 additions and 4 deletions
|
@ -564,10 +564,11 @@ static BOOL snuggleStart(NSString *t)
|
|||
}
|
||||
|
||||
[str appendString: @" <desc>\n"];
|
||||
if (comment != nil)
|
||||
if ([comment length] == 0)
|
||||
{
|
||||
[self reformat: comment withIndent: 12 to: str];
|
||||
comment = @"<em>Descripttion forthcoming.</em>";
|
||||
}
|
||||
[self reformat: comment withIndent: 12 to: str];
|
||||
[str appendString: @" </desc>\n"];
|
||||
if (standards != nil)
|
||||
{
|
||||
|
@ -748,10 +749,11 @@ static BOOL snuggleStart(NSString *t)
|
|||
|
||||
for (j = 0; j < ind; j++) [str appendString: @" "];
|
||||
[str appendString: @"<desc>\n"];
|
||||
if (comment != nil)
|
||||
if ([comment length] == 0)
|
||||
{
|
||||
[self reformat: comment withIndent: ind + 2 to: str];
|
||||
comment = @"<em>Descripttion forthcoming.</em>";
|
||||
}
|
||||
[self reformat: comment withIndent: ind + 2 to: str];
|
||||
for (j = 0; j < ind; j++) [str appendString: @" "];
|
||||
[str appendString: @"</desc>\n"];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue