mirror of https://github.com/OpenRCT2/OpenRCT2.git
Added missing va_end
This commit is contained in:
parent
e39505e23d
commit
6d05adb43f
|
@ -310,8 +310,8 @@ void console_printf(const char *format, ...)
|
|||
{
|
||||
va_list list;
|
||||
va_start(list, format);
|
||||
|
||||
vsprintf(_consolePrintfBuffer, format, list);
|
||||
va_end(list);
|
||||
console_writeline(_consolePrintfBuffer);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue