using custom sting copy fn instead

This commit is contained in:
David Carlier 2020-06-21 11:00:20 +00:00
parent a2b274d1a5
commit 6c4187a6e3

View file

@ -136,7 +136,7 @@ static void SetExecutablePath(char* exePath)
if (ii.type == B_APP_IMAGE)
{
memcpy(exePath, ii.name, PATH_MAX);
Q_strlcpy(exePath, ii.name, PATH_MAX);
}
#else