summaryrefslogtreecommitdiff
path: root/source/ui_demos.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/ui_demos.c')
-rw-r--r--source/ui_demos.c6
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] ) {