[quake3-commits] r1909 - in trunk/code: qcommon server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sat Mar 5 14:11:56 EST 2011


Author: thilo
Date: 2011-03-05 14:11:56 -0500 (Sat, 05 Mar 2011)
New Revision: 1909

Modified:
   trunk/code/qcommon/common.c
   trunk/code/server/sv_ccmds.c
Log:
Fix systeminfo command, fix by DevHC


Modified: trunk/code/qcommon/common.c
===================================================================
--- trunk/code/qcommon/common.c	2011-03-05 19:10:23 UTC (rev 1908)
+++ trunk/code/qcommon/common.c	2011-03-05 19:11:56 UTC (rev 1909)
@@ -509,8 +509,8 @@
 //============================================================================
 
 void Info_Print( const char *s ) {
-	char	key[512];
-	char	value[512];
+	char	key[BIG_INFO_KEY];
+	char	value[BIG_INFO_VALUE];
 	char	*o;
 	int		l;
 
@@ -530,7 +530,7 @@
 		}
 		else
 			*o = 0;
-		Com_Printf ("%s", key);
+		Com_Printf ("%s ", key);
 
 		if (!*s)
 		{

Modified: trunk/code/server/sv_ccmds.c
===================================================================
--- trunk/code/server/sv_ccmds.c	2011-03-05 19:10:23 UTC (rev 1908)
+++ trunk/code/server/sv_ccmds.c	2011-03-05 19:11:56 UTC (rev 1909)
@@ -1199,7 +1199,7 @@
 */
 static void SV_Systeminfo_f( void ) {
 	Com_Printf ("System info settings:\n");
-	Info_Print ( Cvar_InfoString( CVAR_SYSTEMINFO ) );
+	Info_Print ( Cvar_InfoString_Big( CVAR_SYSTEMINFO ) );
 }
 
 



More information about the quake3-commits mailing list