We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 857e676 commit cbdfe58Copy full SHA for cbdfe58
1 file changed
ImGuiFileDialog.cpp
@@ -479,8 +479,12 @@ namespace IGFD
479
{
480
#ifdef USE_STD_FILESYSTEM
481
namespace fs = std::filesystem;
482
+#ifdef WIN32
483
std::wstring wname = IGFD::Utils::string_to_wstring(name.c_str());
484
fs::path pathName = fs::path(wname);
485
+#else
486
+ fs::path pathName = fs::path(name);
487
+#endif
488
bExists = fs::is_directory(pathName);
489
#else
490
DIR* pDir = nullptr;
0 commit comments