瀏覽代碼

Close opened directory (#5529)

pull/5531/head
Alexander Fasching 4 週之前
committed by GitHub
父節點
當前提交
a96cbe0183
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: B5690EEEBB952194
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      src/rcore.c

+ 1
- 0
src/rcore.c 查看文件

@ -3004,6 +3004,7 @@ unsigned int GetDirectoryFileCountEx(const char *basePath, const char *filter, b
} }
} }
} }
closedir(dir);
} }
else TRACELOG(LOG_WARNING, "FILEIO: Directory cannot be opened (%s)", basePath); // Maybe it's a file... else TRACELOG(LOG_WARNING, "FILEIO: Directory cannot be opened (%s)", basePath); // Maybe it's a file...
return fileCounter; return fileCounter;

Loading…
取消
儲存