summaryrefslogtreecommitdiff
path: root/source/cl_ui.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/cl_ui.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/cl_ui.c')
-rw-r--r--source/cl_ui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/cl_ui.c b/source/cl_ui.c
index 6dcdb4a..c8d1601 100644
--- a/source/cl_ui.c
+++ b/source/cl_ui.c
@@ -114,8 +114,8 @@ static qboolean CL_LoadUI( const char *name ) {
Com_Printf( "------- Loading %s -------\n", name );
- Com_sprintf( path, sizeof( path ), "%s" PATH_SEP_STRING "%s" LIBSUFFIX,
- sys_refdir->string, name );
+ Q_concat( path, sizeof( path ), sys_refdir->string, PATH_SEP_STRING,
+ name, LIBSUFFIX, NULL );
if( ( entry = Sys_LoadLibrary( path, "moduleEntry", &ui_library ) ) == NULL ) {
Com_DPrintf( "Couldn't load %s\n", name );