mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Fix the directory prefix when using filters for FS_ListFilteredFiles
This commit is contained in:
parent
48fa5c0ce6
commit
9cd8133068
1 changed files with 1 additions and 1 deletions
|
@ -2418,7 +2418,7 @@ char **FS_ListFilteredFiles( const char *path, const char *extension, const char
|
|||
//
|
||||
if (filter) {
|
||||
if (zpathLen) {
|
||||
strcpy(zpath, name + pathLength + 1);
|
||||
strcpy(zpath, name + zpathLen + 1);
|
||||
}
|
||||
else {
|
||||
strcpy(zpath, name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue