summaryrefslogtreecommitdiff
path: root/source/cl_ui.c
diff options
context:
space:
mode:
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 );