Ver a proveniência

Fix count directories only if filter contains DIRECTORY_FILTER_TAG

pull/5496/head
Catania há 2 semanas
ascendente
cometimento
cd5d5c52f6
1 ficheiros alterados com 1 adições e 1 eliminações
  1. +1
    -1
      src/rcore.c

+ 1
- 1
src/rcore.c Ver ficheiro

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

Carregando…
Cancelar
Guardar