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

@ -156,7 +156,7 @@ void CL_PredictMove (void)
char text[1024];
cls.state = ca_active;
sprintf (text, "QuakeForge: %s", cls.servername);
snprintf (text, sizeof(text), "QuakeForge: %s", cls.servername);
#ifdef _WIN32
SetWindowText (mainwindow, text);
#endif