aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--code/game/g_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/game/g_main.c b/code/game/g_main.c
index 91cb624..cd176d3 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 ) {