This commit is contained in:
Wojtek Figat
2024-10-14 23:35:41 +02:00
parent 7e4d7743a4
commit b957733150
2 changed files with 3 additions and 2 deletions

View File

@@ -80,7 +80,7 @@ namespace
// Determinate a full path of an entry
char full_path[256];
ASSERT(pathLength + strlen(entry->d_name) < ARRAY_COUNT(full_path));
strcpy(full_path, pathStr);
strcpy(full_path, path);
strcat(full_path, "/");
strcat(full_path, entry->d_name);