소스 검색

Fix count directories only if filter contains DIRECTORY_FILTER_TAG

pull/5496/head
Catania 2 주 전
부모
커밋
cd5d5c52f6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      src/rcore.c

+ 1
- 1
src/rcore.c 파일 보기

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

불러오는 중...
취소
저장