Przeglądaj źródła

Fix count directories only if filter contains DIRECTORY_FILTER_TAG

pull/5496/head
Catania 2 tygodni temu
rodzic
commit
cd5d5c52f6
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      src/rcore.c

+ 1
- 1
src/rcore.c Wyświetl plik

@ -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);
}
}

Ładowanie…
Anuluj
Zapisz