mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-10 06:41:58 +00:00
pass the correct size to Q_vsnprintf (Ian Lindsay)
This commit is contained in:
parent
5513fa3d75
commit
21a208cb82
1 changed files with 1 additions and 1 deletions
|
@ -1092,7 +1092,7 @@ void QDECL G_LogPrintf( const char *fmt, ... ) {
|
|||
Com_sprintf( string, sizeof(string), "%3i:%i%i ", min, tens, sec );
|
||||
|
||||
va_start( argptr, fmt );
|
||||
Q_vsnprintf(string + 7, sizeof(string - 7), fmt, argptr);
|
||||
Q_vsnprintf(string + 7, sizeof(string) - 7, fmt, argptr);
|
||||
va_end( argptr );
|
||||
|
||||
if ( g_dedicated.integer ) {
|
||||
|
|
Loading…
Reference in a new issue