mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-10 16:20:42 +00:00
Fix printf format bug
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19698 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ae3f5259a3
commit
86694004a9
2 changed files with 30 additions and 22 deletions
|
@ -1,3 +1,7 @@
|
|||
2004-07-06 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Tools/AGSHtml.h: Fix printf missing argument bug.
|
||||
|
||||
2004-07-05 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/Unicode.m: GSToUnicode() be strict about converting ASCII
|
||||
|
|
|
@ -455,10 +455,11 @@ static NSString *mainFont = nil;
|
|||
[buf appendFormat: @"<b>%@</b>\n", title];
|
||||
}
|
||||
[buf appendString: indent];
|
||||
if (!isBareStyle) {
|
||||
[buf appendString: @"<ul>"];
|
||||
[self incIndent];
|
||||
}
|
||||
if (!isBareStyle)
|
||||
{
|
||||
[buf appendString: @"<ul>"];
|
||||
[self incIndent];
|
||||
}
|
||||
[buf appendString: @"\n"];
|
||||
|
||||
a = [dict allKeys];
|
||||
|
@ -526,11 +527,12 @@ static NSString *mainFont = nil;
|
|||
|
||||
}
|
||||
|
||||
if (!isBareStyle) {
|
||||
[self decIndent];
|
||||
[buf appendString: indent];
|
||||
[buf appendString: @"</ul>"];
|
||||
}
|
||||
if (!isBareStyle)
|
||||
{
|
||||
[self decIndent];
|
||||
[buf appendString: indent];
|
||||
[buf appendString: @"</ul>"];
|
||||
}
|
||||
[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: @"<hr width=\"50%\" align=\"left\" />\n"];
|
||||
[buf appendString: indent];
|
||||
[buf appendFormat: @"<a href=\"#_%@_ivars\">Instance Variables</a>\n",
|
||||
classname];
|
||||
[buf appendString: indent];
|
||||
[buf appendString: @"<br/><br/>\n"];
|
||||
[ibuf appendFormat: @"<a name=\"_%@_ivars\"/>"];
|
||||
}
|
||||
if (ivarsAtEnd)
|
||||
{
|
||||
ibuf = ivarBuf;
|
||||
[buf appendString: indent];
|
||||
[buf appendString: @"<hr width=\"50%\" align=\"left\" />\n"];
|
||||
[buf appendString: indent];
|
||||
[buf appendFormat: @"<a href=\"#_%@_ivars\">Instance Variables</a>\n",
|
||||
classname];
|
||||
[buf appendString: indent];
|
||||
[buf appendString: @"<br/><br/>\n"];
|
||||
[ibuf appendFormat: @"<a name=\"_%@_ivars\"/>", classname];
|
||||
}
|
||||
[ibuf appendString: indent];
|
||||
[ibuf appendString: @"<br/><hr width=\"50%\" align=\"left\" />\n"];
|
||||
[ibuf appendString: indent];
|
||||
[ibuf appendFormat: @"<h2>Instance Variables for %@ Class</h2>\n",
|
||||
classname];
|
||||
classname];
|
||||
while (node != nil && [[node name] isEqual: @"ivariable"] == YES)
|
||||
{
|
||||
[self outputNode: node to: ibuf];
|
||||
|
|
Loading…
Reference in a new issue