summaryrefslogtreecommitdiff
path: root/source/cvar.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2007-11-25 20:57:50 +0000
committerAndrey Nazarov <skuller@skuller.net>2007-11-25 20:57:50 +0000
commitb00e7bd024285970dd00cfc75d8e690bfa475501 (patch)
tree22ceeee3027fd4872f5621650557bc8ae4391948 /source/cvar.c
parent5eaaac93ad3b0d2777815717059d977912bd96f7 (diff)
Changed Com_sprintf --> Q_concat in quite some cases.
Make sure WAVE sound driver is built by default. Added --disable-wave option to `configure'. Command line history is now remembered between sessions. ALT+Space refreshes all servers in Server Browser. Handle command line agruments like original Q2 engine did.
Diffstat (limited to 'source/cvar.c')
-rw-r--r--source/cvar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/cvar.c b/source/cvar.c
index cacb847..3522f6b 100644
--- a/source/cvar.c
+++ b/source/cvar.c
@@ -973,8 +973,8 @@ int Cvar_BitInfo( char *info, int bit ) {
if( !var->string[0] ) {
continue;
}
- length = Com_sprintf( newi, sizeof( newi ), "\\%s\\%s",
- var->name, var->string );
+ length = Q_concat( newi, sizeof( newi ),
+ "\\", var->name, "\\", var->string, NULL );
if( total + length >= MAX_INFO_STRING ) {
break;
}