From 8da3f56de6e30c62d21ff3b49fdcebc23c2e8d5b Mon Sep 17 00:00:00 2001 From: tildearrow Date: Sun, 2 Jul 2023 02:17:52 -0500 Subject: [PATCH] and of course. fix Windows, and Linux breaks. --- extern/igfd/ImGuiFileDialog.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extern/igfd/ImGuiFileDialog.cpp b/extern/igfd/ImGuiFileDialog.cpp index b3d0212c9..2ccc3e9c0 100644 --- a/extern/igfd/ImGuiFileDialog.cpp +++ b/extern/igfd/ImGuiFileDialog.cpp @@ -1445,7 +1445,9 @@ namespace IGFD { auto infos = std::make_shared(); +#ifdef _WIN32 struct dirent* dent=(struct dirent*)ent; +#endif infos->filePath = vPath; infos->fileNameExt = vFileName;