mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-05-23 19:51:46 +00:00
sprintf -> snprintf
vsprintf -> vsnprintf
This commit is contained in:
parent
1bb513d584
commit
1efb92f899
29 changed files with 168 additions and 147 deletions
|
@ -271,8 +271,8 @@ void PR_RunError (char *error, ...)
|
|||
va_list argptr;
|
||||
char string[1024];
|
||||
|
||||
va_start (argptr,error);
|
||||
vsprintf (string,error,argptr);
|
||||
va_start (argptr, error);
|
||||
vsnprintf (string, sizeof(string), error,argptr);
|
||||
va_end (argptr);
|
||||
|
||||
PR_PrintStatement (pr_statements + pr_xstatement);
|
||||
|
@ -288,7 +288,7 @@ void PR_RunError (char *error, ...)
|
|||
============================================================================
|
||||
PR_ExecuteProgram
|
||||
|
||||
The interpretation main loop
|
||||
The interpretation main loop /*
|
||||
============================================================================
|
||||
*/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue