diff options
| author | Ray <[email protected]> | 2022-09-19 18:20:36 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2022-09-19 18:20:36 +0200 |
| commit | 5530a3ceb88962066affa5db8e13b00b64444b37 (patch) | |
| tree | 25b679f2af2e0283fb6213a1cbd3c3fbb29ea87e | |
| parent | 6e8f3b0f45c73005634e8c4cfe8fa0d61560fbb5 (diff) | |
| download | raylib-5530a3ceb88962066affa5db8e13b00b64444b37.tar.gz raylib-5530a3ceb88962066affa5db8e13b00b64444b37.zip | |
REVIEWED: `ScanDirectoryFilesRecursively()`, fix #2704
| -rw-r--r-- | src/rcore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rcore.c b/src/rcore.c index 1b00b14f..8d5b4589 100644 --- a/src/rcore.c +++ b/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 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); struct dirent *dp = NULL; |
