filesystem: dir: exit from loop immediately if directory is caseinsensitive

This commit is contained in:
Alibek Omarov 2022-12-22 10:54:08 +03:00
parent 3d71e5d111
commit b36ebc294f

View File

@ -234,6 +234,7 @@ qboolean FS_FixFileCase( dir_t *dir, const char *path, char *dst, size_t len, qb
Con_Printf( "%s: overflow while searching %s (caseinsensitive entry)\n", __FUNCTION__, path ); Con_Printf( "%s: overflow while searching %s (caseinsensitive entry)\n", __FUNCTION__, path );
return false; return false;
} }
break;
} }
// populate cache if needed // populate cache if needed