using custom sting copy fn instead
This commit is contained in:
parent
a2b274d1a5
commit
6c4187a6e3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue