diff --git a/code/game/g_main.c b/code/game/g_main.c index 91cb6244..cd176d31 100644 --- a/code/game/g_main.c +++ b/code/game/g_main.c @@ -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 ) {