Skip to content

Commit

Permalink
Fix systeminfo command, fix by DevHC
Browse files Browse the repository at this point in the history
  • Loading branch information
Thilo Schulz committed Mar 5, 2011
1 parent 0387b80 commit 21668c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions code/qcommon/common.c
Expand Up @@ -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;

Expand All @@ -530,7 +530,7 @@ void Info_Print( const char *s ) {
}
else
*o = 0;
Com_Printf ("%s", key);
Com_Printf ("%s ", key);

if (!*s)
{
Expand Down
2 changes: 1 addition & 1 deletion code/server/sv_ccmds.c
Expand Up @@ -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 ) );
}


Expand Down

0 comments on commit 21668c0

Please sign in to comment.