Skip to content

Commit 537f095

Browse files
committed
Fixed name filter in file search
1 parent 12891d9 commit 537f095

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sys/xfs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1272,7 +1272,7 @@ static int XFile_CheckCriteria(xfile_search_t *pSearch, const char *pPath, const
12721272
XFile_SearchName(pSearch, pSearchName) :
12731273
!strcmp(pSearch->pFileName, pSearchName);
12741274

1275-
if (!bFound && !xstrused(pSearch->sText)) return XSTDNON;
1275+
if (!bFound) return XSTDNON;
12761276
}
12771277

12781278
XSTATUS nStatus = XSTDOK;

0 commit comments

Comments
 (0)