소스 검색

REVIEWED: `ScanDirectoryFilesRecursively()`, fix #2704

pull/2717/head
Ray 2 년 전
부모
커밋
5530a3ceb8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      src/rcore.c

+ 1
- 1
src/rcore.c 파일 보기

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

불러오는 중...
취소
저장