From 4eab7d650354172483971069d1a6d1dede5192ae Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Fri, 19 Jul 2019 17:17:12 +0300 Subject: [PATCH] engine: fix build --- engine/common/lib_common.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/engine/common/lib_common.c b/engine/common/lib_common.c index 810f93eb..7c30f37e 100644 --- a/engine/common/lib_common.c +++ b/engine/common/lib_common.c @@ -119,11 +119,11 @@ static void COM_GenerateServerLibraryPath( char *out, size_t size ) char *ext; #if XASH_WIN32 - Q_strncpy( dllpath, GI->game_dll, sizeof( dllname ) ); + Q_strncpy( dllpath, GI->game_dll, sizeof( dllpath ) ); #elif XASH_APPLE - Q_strncpy( dllpath, GI->game_dll_osx, sizeof( dllname ) ); + Q_strncpy( dllpath, GI->game_dll_osx, sizeof( dllpath ) ); #else // XASH_APPLE - Q_strncpy( dllpath, GI->game_dll_linux, sizeof( dllname ) ); + Q_strncpy( dllpath, GI->game_dll_linux, sizeof( dllpath ) ); #endif ext = COM_FileExtension( dllpath );