mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-05-30 08:40:39 +00:00
sprintf -> snprintf
vsprintf -> vsnprintf
This commit is contained in:
parent
1bb513d584
commit
1efb92f899
29 changed files with 168 additions and 147 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue