Renamed GLOBDIR to GLOB

This commit is contained in:
Sam Lantinga
2024-04-04 07:40:48 -07:00
parent ac372e99fe
commit 0abdc1a343
4 changed files with 9 additions and 9 deletions

View File

@@ -204,7 +204,7 @@ static int SDLCALL GlobDirectoryCallback(void *userdata, const char *dirname, co
}
char *folded = NULL;
if (data->flags & SDL_GLOBDIR_CASEINSENSITIVE) {
if (data->flags & SDL_GLOB_CASEINSENSITIVE) {
folded = CaseFoldUtf8String(fullpath);
if (!folded) {
return -1;
@@ -271,7 +271,7 @@ char **SDL_InternalGlobDirectory(const char *path, const char *pattern, Uint32 f
}
char *folded = NULL;
if (pattern && (flags & SDL_GLOBDIR_CASEINSENSITIVE)) {
if (pattern && (flags & SDL_GLOB_CASEINSENSITIVE)) {
folded = CaseFoldUtf8String(pattern);
if (!folded) {
SDL_free(pathcpy);
@@ -292,7 +292,7 @@ char **SDL_InternalGlobDirectory(const char *path, const char *pattern, Uint32 f
data.matcher = EverythingMatch; // no pattern? Everything matches.
// !!! FIXME
//} else if (flags & SDL_GLOBDIR_GITIGNORE) {
//} else if (flags & SDL_GLOB_GITIGNORE) {
// data.matcher = GitIgnoreMatch;
} else {