mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 15:21:44 +00:00
using custom sting copy fn instead
This commit is contained in:
parent
a2b274d1a5
commit
6c4187a6e3
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ static void SetExecutablePath(char* exePath)
|
||||||
|
|
||||||
if (ii.type == B_APP_IMAGE)
|
if (ii.type == B_APP_IMAGE)
|
||||||
{
|
{
|
||||||
memcpy(exePath, ii.name, PATH_MAX);
|
Q_strlcpy(exePath, ii.name, PATH_MAX);
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in a new issue