瀏覽代碼

Merge branch 'raysan5:master' into master

pull/4796/head
Jon Daniel 3 週之前
committed by GitHub
父節點
當前提交
8d23dd1242
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: B5690EEEBB952194
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      src/rcore.c

+ 2
- 1
src/rcore.c 查看文件

@ -3757,7 +3757,8 @@ 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)
{
static char path[MAX_FILEPATH_LENGTH] = { 0 };
// WARNING: Path can not be static or it will be reused between recursive function calls!
char path[MAX_FILEPATH_LENGTH] = { 0 };
memset(path, 0, MAX_FILEPATH_LENGTH);
struct dirent *dp = NULL;

Loading…
取消
儲存