Fix missing va_end's

This commit is contained in:
Ben Payne 2015-02-10 18:08:55 -05:00
parent 0ffd7f5620
commit 591253d5b5
7 changed files with 11 additions and 2 deletions

View file

@ -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) {