Browse Source

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

pull/2/head
Alibek Omarov 2 years ago
parent
commit
b36ebc294f
  1. 1
      filesystem/dir.c

1
filesystem/dir.c

@ -234,6 +234,7 @@ qboolean FS_FixFileCase( dir_t *dir, const char *path, char *dst, size_t len, qb @@ -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 );
return false;
}
break;
}
// populate cache if needed

Loading…
Cancel
Save