mirror of
https://github.com/raysan5/raylib.git
synced 2026-02-05 21:59:18 -05:00
Close opened directory (#5529)
This commit is contained in:
committed by
GitHub
parent
4c1efc2bd3
commit
a96cbe0183
@ -3004,6 +3004,7 @@ unsigned int GetDirectoryFileCountEx(const char *basePath, const char *filter, b
|
||||
}
|
||||
}
|
||||
}
|
||||
closedir(dir);
|
||||
}
|
||||
else TRACELOG(LOG_WARNING, "FILEIO: Directory cannot be opened (%s)", basePath); // Maybe it's a file...
|
||||
return fileCounter;
|
||||
|
||||
Reference in New Issue
Block a user