r1390 - trunk/code/game

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Fri Jun 20 03:08:43 EDT 2008


Author: ludwig
Date: 2008-06-20 03:08:42 -0400 (Fri, 20 Jun 2008)
New Revision: 1390

Modified:
   trunk/code/game/g_main.c
Log:
pass the correct size to Q_vsnprintf (Ian Lindsay)


Modified: trunk/code/game/g_main.c
===================================================================
--- trunk/code/game/g_main.c	2008-06-20 07:08:40 UTC (rev 1389)
+++ trunk/code/game/g_main.c	2008-06-20 07:08:42 UTC (rev 1390)
@@ -1092,7 +1092,7 @@
 	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 ) {




More information about the quake3-commits mailing list