mirror of
https://github.com/Museum-of-Art-and-Digital-Entertainment/macross.git
synced 2024-12-26 08:29:27 +00:00
fix macro listings (-m w/ -l). Slightly broken by varargs update.
This commit is contained in:
parent
4cc8c97be5
commit
2224fcb803
@ -492,7 +492,7 @@ labeledLine(void)
|
||||
vaddText(char *buffer, char **bufferPtr, char *format, va_list ap)
|
||||
{
|
||||
vsprintf(*bufferPtr, format, ap);
|
||||
*bufferPtr = buffer = strlen(buffer);
|
||||
*bufferPtr = buffer + strlen(buffer);
|
||||
}
|
||||
|
||||
void
|
||||
@ -521,7 +521,7 @@ moreText(char *format, ...)
|
||||
{
|
||||
va_list ap;
|
||||
va_start(ap, format);
|
||||
addText(expansionString, &expansionStringPtr, format, ap);
|
||||
vaddText(expansionString, &expansionStringPtr, format, ap);
|
||||
va_end(ap);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user