diff --git a/ChangeLog b/ChangeLog index 323d8cc42..e91e41024 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2004-07-06 Richard Frith-Macdonald + + * Tools/AGSHtml.h: Fix printf missing argument bug. + 2004-07-05 Richard Frith-Macdonald * Source/Unicode.m: GSToUnicode() be strict about converting ASCII diff --git a/Tools/AGSHtml.m b/Tools/AGSHtml.m index bc0ede2d0..e960ee746 100644 --- a/Tools/AGSHtml.m +++ b/Tools/AGSHtml.m @@ -455,10 +455,11 @@ static NSString *mainFont = nil; [buf appendFormat: @"%@\n", title]; } [buf appendString: indent]; - if (!isBareStyle) { - [buf appendString: @""]; + } [buf appendString: @"\n"]; } } @@ -2329,27 +2331,29 @@ static NSString *mainFont = nil; if (node != nil && [[node name] isEqual: @"ivariable"] == YES) { + NSMutableString *ibuf = buf; + /* * If want instance variables at end, throw it all into an alternate * buffer and just put a link here; later alt buf must be appended. */ - NSMutableString *ibuf = buf; - if (ivarsAtEnd) { - ibuf = ivarBuf; - [buf appendString: indent]; - [buf appendString: @"
\n"]; - [buf appendString: indent]; - [buf appendFormat: @"Instance Variables\n", - classname]; - [buf appendString: indent]; - [buf appendString: @"

\n"]; - [ibuf appendFormat: @""]; - } + if (ivarsAtEnd) + { + ibuf = ivarBuf; + [buf appendString: indent]; + [buf appendString: @"
\n"]; + [buf appendString: indent]; + [buf appendFormat: @"
Instance Variables\n", + classname]; + [buf appendString: indent]; + [buf appendString: @"

\n"]; + [ibuf appendFormat: @"", classname]; + } [ibuf appendString: indent]; [ibuf appendString: @"

\n"]; [ibuf appendString: indent]; [ibuf appendFormat: @"

Instance Variables for %@ Class

\n", - classname]; + classname]; while (node != nil && [[node name] isEqual: @"ivariable"] == YES) { [self outputNode: node to: ibuf];