Use c++ template function for vsnprintf

This commit is contained in:
FutureRave 2022-03-02 10:10:03 +00:00
parent f07b2816df
commit 8847b362a7
No known key found for this signature in database
GPG Key ID: E883E2BC9657D955

View File

@ -193,7 +193,7 @@ namespace Components
char msgbuf[1024] = {0};
va_list va;
va_start(va, message);
vsnprintf_s(msgbuf, sizeof(msgbuf), _TRUNCATE, message, va);
_vsnprintf_s(msgbuf, _TRUNCATE, message, va);
va_end(va);
Game::Scr_ShutdownAllocNode();