diff --git a/Tools/AGSOutput.m b/Tools/AGSOutput.m index f5d1169f9..c491bf8b9 100644 --- a/Tools/AGSOutput.m +++ b/Tools/AGSOutput.m @@ -1150,7 +1150,7 @@ static BOOL snuggleStart(NSString *t) NSArray *protocols; NSString *standards = nil; NSString *tmp; - NSString *unit; + NSString *unit = nil; NSRange r; unsigned ind; unsigned i; @@ -1270,7 +1270,7 @@ static BOOL snuggleStart(NSString *t) withString: @"chapter>"]; } } - else + if (unit == nil) { unit = [NSString stringWithFormat: @" \n Software documentation "