This commit is contained in:
Fabian Greffrath 2019-01-23 10:12:12 +01:00
commit 2f5571d72c

View file

@ -319,6 +319,11 @@ const char *I_NextGlob(glob_t *glob)
{
const char *result;
if (glob == NULL)
{
return NULL;
}
// In unsorted mode we just return the filenames as we read
// them back from the system API.
if ((glob->flags & GLOB_FLAG_SORTED) == 0)