diff options
author | Andrey Nazarov <skuller@skuller.net> | 2007-11-25 20:57:50 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2007-11-25 20:57:50 +0000 |
commit | b00e7bd024285970dd00cfc75d8e690bfa475501 (patch) | |
tree | 22ceeee3027fd4872f5621650557bc8ae4391948 /source/ui_demos.c | |
parent | 5eaaac93ad3b0d2777815717059d977912bd96f7 (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/ui_demos.c')
-rw-r--r-- | source/ui_demos.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/ui_demos.c b/source/ui_demos.c index 81d9061..730a5b6 100644 --- a/source/ui_demos.c +++ b/source/ui_demos.c @@ -71,8 +71,8 @@ static void Demos_LoadInfo( int index ) { return; } - Com_sprintf( buffer, sizeof( buffer ), "%s/%s", - uis.m_demos_browse + 1, m_demos.names[index] ); + Q_concat( buffer, sizeof( buffer ), + uis.m_demos_browse + 1, "/", m_demos.names[index], NULL ); client.GetDemoInfo( buffer, &m_demos.demo ); @@ -120,7 +120,7 @@ static char *Demos_BuildName( const char *path, const char *name, demoInfo_t demo; char *s; - Com_sprintf( buffer, sizeof( buffer ), "%s/%s", path, name ); + Q_concat( buffer, sizeof( buffer ), path, "/", name, NULL ); client.GetDemoInfo( buffer, &demo ); if( !demo.mapname[0] ) { |