mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 14:42:13 +00:00
bizzare...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4068 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
8ae45223dc
commit
2c7220af2e
1 changed files with 5 additions and 5 deletions
|
@ -154,7 +154,7 @@ void Sys_Printf (char *fmt, ...)
|
|||
return;
|
||||
|
||||
va_start (argptr,fmt);
|
||||
_vsnprintf (text,sizeof(text)-1, fmt,argptr);
|
||||
vsnprintf (text,sizeof(text)-1, fmt,argptr);
|
||||
va_end (argptr);
|
||||
|
||||
if (strlen(text) > sizeof(text))
|
||||
|
@ -199,7 +199,7 @@ void Sys_Printf (char *fmt, ...)
|
|||
unsigned char *p;
|
||||
|
||||
va_start (argptr,fmt);
|
||||
_vsnprintf (text,sizeof(text)-1, fmt,argptr);
|
||||
vsnprintf (text,sizeof(text)-1, fmt,argptr);
|
||||
va_end (argptr);
|
||||
|
||||
if (strlen(text) > sizeof(text))
|
||||
|
@ -239,7 +239,7 @@ void Sys_Error (const char *error, ...)
|
|||
fcntl (0, F_SETFL, fcntl (0, F_GETFL, 0) & ~FNDELAY);
|
||||
|
||||
va_start (argptr,error);
|
||||
_vsnprintf (string,sizeof(string)-1, error,argptr);
|
||||
vsnprintf (string,sizeof(string)-1, error,argptr);
|
||||
va_end (argptr);
|
||||
fprintf(stderr, "Error: %s\n", string);
|
||||
|
||||
|
@ -253,7 +253,7 @@ void Sys_Warn (char *warning, ...)
|
|||
char string[1024];
|
||||
|
||||
va_start (argptr,warning);
|
||||
_vsnprintf (string,sizeof(string)-1, warning,argptr);
|
||||
vsnprintf (string,sizeof(string)-1, warning,argptr);
|
||||
va_end (argptr);
|
||||
|
||||
fprintf(stderr, "Warning: %s", string);
|
||||
|
@ -349,7 +349,7 @@ int Sys_DebugLog(char *file, char *fmt, ...)
|
|||
size_t result;
|
||||
|
||||
va_start(argptr, fmt);
|
||||
_vsnprintf (data,sizeof(data)-1, fmt, argptr);
|
||||
vsnprintf (data,sizeof(data)-1, fmt, argptr);
|
||||
va_end(argptr);
|
||||
|
||||
if (strlen(data) > sizeof(data))
|
||||
|
|
Loading…
Reference in a new issue