mirror of https://github.com/OpenRCT2/OpenRCT2.git
Merge pull request #1440 from sferrini/develop
Added missing va_end call
This commit is contained in:
commit
1dd55346a1
|
@ -310,8 +310,8 @@ void console_printf(const char *format, ...)
|
||||||
{
|
{
|
||||||
va_list list;
|
va_list list;
|
||||||
va_start(list, format);
|
va_start(list, format);
|
||||||
|
|
||||||
vsprintf(_consolePrintfBuffer, format, list);
|
vsprintf(_consolePrintfBuffer, format, list);
|
||||||
|
va_end(list);
|
||||||
console_writeline(_consolePrintfBuffer);
|
console_writeline(_consolePrintfBuffer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue