mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Actually search subfolders other than doing the "priority" one twice
Resolves Ring-Racers/#2 - what a genuinely embarassing oversight
This commit is contained in:
parent
ec70f62f36
commit
f9490f7f77
1 changed files with 1 additions and 1 deletions
|
|
@ -546,7 +546,7 @@ filestatus_t filesearch(char *filename, const char *startpath,
|
||||||
// When we're at the root of the search, we exclude certain folders.
|
// When we're at the root of the search, we exclude certain folders.
|
||||||
|
|
||||||
if (priorityfolder != NULL
|
if (priorityfolder != NULL
|
||||||
&& strcasecmp(priorityfolder, dent->d_name))
|
&& !strcasecmp(priorityfolder, dent->d_name))
|
||||||
{
|
{
|
||||||
// We skip revisiting the priority by pretending
|
// We skip revisiting the priority by pretending
|
||||||
// it matched the first exclude directory instead
|
// it matched the first exclude directory instead
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue