filesystem: SDL_Glob*Directory() functions now follow the SDL_GetStringRule.

Reference Issue #10229.
This commit is contained in:
Ryan C. Gordon committed 2024-07-16 16:44:36 -04:00
1 parent 52bf7ff42d
commit ed1f93cd11
7 files changed
+13 -13

No files matched your search

+1 -2
View File
@@ -108,7 +108,7 @@ int main(int argc, char *argv[])
}
if (base_path) {
char **globlist;
const char * const *globlist;
if (SDL_EnumerateDirectory(base_path, enum_callback, NULL) < 0) {
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Base path enumeration failed!");
@@ -122,7 +122,6 @@ int main(int argc, char *argv[])
for (i = 0; globlist[i]; i++) {
SDL_Log("GLOB[%d]: '%s'", i, globlist[i]);
}
SDL_free(globlist);
}
/* !!! FIXME: put this in a subroutine and make it test more thoroughly (and put it in testautomation). */