This commit is contained in:
Wojtek Figat
2024-10-03 10:04:18 +02:00
parent fbc5a061d9
commit f746940485
3 changed files with 3 additions and 3 deletions

View File

@@ -184,7 +184,7 @@ bool AppleFileSystem::GetChildDirectories(Array<String>& results, const String&
// Determinate a full path of an entry
char fullPath[256];
ASSERT(pathLength + strlen(entry->d_name) < ARRAY_COUNT(fullPath));
strcpy(fullPath, path);
strcpy(fullPath, pathStr);
strcat(fullPath, "/");
strcat(fullPath, entry->d_name);