win xp fix
This commit is contained in:
parent
e60db3ccb5
commit
d858afe38a
1 changed files with 1 additions and 1 deletions
|
@ -7,6 +7,6 @@ void DebugPrint(const char *format, ...)
|
|||
va_list args;
|
||||
va_start(args, format);
|
||||
char buffer[512];
|
||||
_vsnprintf_s(buffer, sizeof(buffer), _TRUNCATE, format, args);
|
||||
_vsnprintf(buffer, sizeof(buffer), format, args);
|
||||
OutputDebugStringA(buffer);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue