sprintf -> snprintf

vsprintf -> vsnprintf
This commit is contained in:
Yan Sweitzer 2000-05-15 08:59:12 +00:00
parent 1bb513d584
commit 1efb92f899
29 changed files with 168 additions and 147 deletions

View file

@ -68,7 +68,7 @@ void Sys_Error (char *error, ...)
char text[1024];
va_start (argptr,error);
vsprintf (text, error,argptr);
vsnprintf (text, sizeof(text), error,argptr);
va_end (argptr);
// MessageBox(NULL, text, "Error", 0 /* MB_OK */ );