Quellcode durchsuchen

Merge branch 'raysan5:master' into master

pull/4796/head
Jon Daniel vor 2 Wochen
committed von GitHub
Ursprung
Commit
8d23dd1242
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden GPG-Schlüssel-ID: B5690EEEBB952194
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. +2
    -1
      src/rcore.c

+ 2
- 1
src/rcore.c Datei anzeigen

@ -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;

Laden…
Abbrechen
Speichern