mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
public: remove Q_strcat and Q_strcpy, and patch the code that uses it
This commit is contained in:
@@ -803,7 +803,10 @@ void COM_PathSlashFix( char *path )
|
||||
len = Q_strlen( path );
|
||||
|
||||
if( path[len - 1] != '\\' && path[len - 1] != '/' )
|
||||
Q_strcpy( &path[len], "/" );
|
||||
{
|
||||
path[len] = '/';
|
||||
path[len + 1] = '\0';
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user