filesystem: dir: exit from loop immediately if directory is caseinsensitive
This commit is contained in:
parent
3d71e5d111
commit
b36ebc294f
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue