From 21668c0616748f6244f18586c3d1e8dab3e9dde9 Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Sat, 5 Mar 2011 19:11:56 +0000 Subject: [PATCH] Fix systeminfo command, fix by DevHC --- code/qcommon/common.c | 6 +++--- code/server/sv_ccmds.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/code/qcommon/common.c b/code/qcommon/common.c index 0c7fd1bf..d38bf284 100644 --- a/code/qcommon/common.c +++ b/code/qcommon/common.c @@ -509,8 +509,8 @@ qboolean Com_AddStartupCommands( void ) { //============================================================================ 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 @@ void Info_Print( const char *s ) { } else *o = 0; - Com_Printf ("%s", key); + Com_Printf ("%s ", key); if (!*s) { diff --git a/code/server/sv_ccmds.c b/code/server/sv_ccmds.c index 3eb7e9e5..6cf5c899 100644 --- a/code/server/sv_ccmds.c +++ b/code/server/sv_ccmds.c @@ -1199,7 +1199,7 @@ Examine or change the serverinfo string */ 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 ) ); }