mirror of
https://github.com/rehlds/ReHLDS.git
synced 2025-11-14 06:44:55 +03:00
FileSystem: Fixes #552
This commit is contained in:
parent
60f2181a55
commit
eaabafc16d
1 changed files with 1 additions and 1 deletions
|
|
@ -1384,7 +1384,7 @@ bool CBaseFileSystem::FindNextFileHelper(FindData_t *pFindData)
|
|||
}
|
||||
else
|
||||
{
|
||||
int len = Q_strlen(pSearchPath->GetPath().String() + pFindData->m_WildCardString.Size());
|
||||
int len = Q_strlen(pSearchPath->GetPath().String()) + pFindData->m_WildCardString.Size();
|
||||
char *pTmpFileName = (char *)alloca((len + 1) * sizeof(char));
|
||||
Q_strcpy(pTmpFileName, pSearchPath->GetPath().String());
|
||||
Q_strcat(pTmpFileName, pFindData->m_WildCardString.Base());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue