Fix compile error on with MSVC.
This commit is contained in:
parent
4e5b1a58ce
commit
5716927cbf
@ -267,7 +267,7 @@ static cell_t sm_OpenDirectory(IPluginContext *pContext, const cell_t *params)
|
|||||||
if (pFirst)
|
if (pFirst)
|
||||||
{
|
{
|
||||||
valveDir->bHandledFirstPath = false;
|
valveDir->bHandledFirstPath = false;
|
||||||
strncpy(valveDir->szFirstPath, pFirst, sizeof(ValveDirectory::szFirstPath));
|
strncpy(valveDir->szFirstPath, pFirst, sizeof(valveDir->szFirstPath));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user