mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-03 20:40:35 +00:00
Fix missing va_end's
This commit is contained in:
parent
0ffd7f5620
commit
591253d5b5
7 changed files with 11 additions and 2 deletions
|
|
@ -174,6 +174,7 @@ void StdConsole::printf(const char *s, ...)
|
|||
va_list args;
|
||||
va_start(args, s);
|
||||
vsnprintf(buffer, BufSize, s, args);
|
||||
va_end(args);
|
||||
// Replace tabs with carats, like the "real" console does.
|
||||
char *pos = buffer;
|
||||
while (*pos) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue