From 65c5455e6f3c3546c02d585549f725bdec346a9c Mon Sep 17 00:00:00 2001 From: CaS Date: Mon, 7 Jan 2002 11:34:25 +0000 Subject: [PATCH] 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 --- ChangeLog | 1 + Tools/AGSOutput.m | 10 ++++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9e8523ab1..e29d065be 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 2002-01-07 Richard Frith-Macdonald * Tools/AGSHtml.m: Minor speedup. + * Tools/AGSOutput.m: Put something in place of empty descriptions. * Tools/AGSParser.m: Rewrite handling of standards information to fix bug in NO_GNUSTEP handling. * Source/GNUmakefile: Don't document concrete number stuff ... not diff --git a/Tools/AGSOutput.m b/Tools/AGSOutput.m index 63f157746..3907163d9 100644 --- a/Tools/AGSOutput.m +++ b/Tools/AGSOutput.m @@ -564,10 +564,11 @@ static BOOL snuggleStart(NSString *t) } [str appendString: @" \n"]; - if (comment != nil) + if ([comment length] == 0) { - [self reformat: comment withIndent: 12 to: str]; + comment = @"Descripttion forthcoming."; } + [self reformat: comment withIndent: 12 to: str]; [str appendString: @" \n"]; if (standards != nil) { @@ -748,10 +749,11 @@ static BOOL snuggleStart(NSString *t) for (j = 0; j < ind; j++) [str appendString: @" "]; [str appendString: @"\n"]; - if (comment != nil) + if ([comment length] == 0) { - [self reformat: comment withIndent: ind + 2 to: str]; + comment = @"Descripttion forthcoming."; } + [self reformat: comment withIndent: ind + 2 to: str]; for (j = 0; j < ind; j++) [str appendString: @" "]; [str appendString: @"\n"];