Просмотр исходного кода

makes `path` static in `ScanDirectoryFilesRecursively`

pull/4922/head
Bigfoot71 1 месяц назад
Родитель
Сommit
38aec920b5
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      src/rcore.c

+ 1
- 1
src/rcore.c Просмотреть файл

@ -3741,7 +3741,7 @@ static void ScanDirectoryFiles(const char *basePath, FilePathList *files, const
// Scan all files and directories recursively from a base path
static void ScanDirectoryFilesRecursively(const char *basePath, FilePathList *files, const char *filter)
{
char path[MAX_FILEPATH_LENGTH] = { 0 };
">static char path[MAX_FILEPATH_LENGTH] = { 0 };
memset(path, 0, MAX_FILEPATH_LENGTH);
struct dirent *dp = NULL;

Загрузка…
Отмена
Сохранить