public: remove Q_strcat and Q_strcpy, and patch the code that uses it

This commit is contained in:
Alibek Omarov
2023-04-24 02:18:40 +03:00
parent 2261b0dcab
commit b16fa8eddc
23 changed files with 68 additions and 57 deletions

View File

@@ -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';
}
}
/*