Procházet zdrojové kódy

Fix count directories only if filter contains DIRECTORY_FILTER_TAG

pull/5496/head
Catania před 2 týdny
rodič
revize
cd5d5c52f6
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      src/rcore.c

+ 1
- 1
src/rcore.c Zobrazit soubor

@ -4308,7 +4308,7 @@ static unsigned int GetDirectoryFileCountEx(const char *basePath, const char *fi
}
else
{
if (n">filter == NULL || strstr(filter, DIRECTORY_FILTER_TAG) != NULL) fileCounter++;
if (p">(filter != NULL) && (strstr(filter, DIRECTORY_FILTER_TAG) != NULL)) fileCounter++;
if (scanSubdirs) fileCounter += GetDirectoryFileCountEx(path, filter, scanSubdirs);
}
}

Načítá se…
Zrušit
Uložit