fix M_StringJoin

This commit is contained in:
Roman Fomin 2024-09-08 13:53:41 +07:00
parent 7a50a0317e
commit b1f0684083

View File

@ -234,7 +234,7 @@ static char *NextGlob(glob_t *glob)
|| !MatchesAnyGlob(de->d_name, glob)); || !MatchesAnyGlob(de->d_name, glob));
// Return the fully-qualified path, not just the bare filename. // Return the fully-qualified path, not just the bare filename.
return M_StringJoin(glob->directory, DIR_SEPARATOR_S, de->d_name, NULL); return M_StringJoin(glob->directory, DIR_SEPARATOR_S, de->d_name);
} }
static void ReadAllFilenames(glob_t *glob) static void ReadAllFilenames(glob_t *glob)