fix filesearch oopsie

lulul
This commit is contained in:
Alug committed 2025-09-15 15:08:22 +02:00
1 parent ef9472097d
commit 36c1369041
1 file changed
+1 -1
+1 -1
View File
@@ -477,7 +477,7 @@ filestatus_t filesearch(char *filename, const char *startpath, const UINT8 *want
for (; *path != NULL; path++)
{
if (strcasecmp(*path, dent->d_name))
if (strcasecmp(*path, dent->d_name) == 0)
{
skipfolder = true;
break;