mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-24 13:11:30 +00:00
Fix systeminfo command, fix by DevHC
This commit is contained in:
parent
0387b8002e
commit
21668c0616
2 changed files with 4 additions and 4 deletions
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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 ) );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue