diff --git a/engine/core/src/imgui_backend.cpp b/engine/core/src/imgui_backend.cpp index ee55afd..3036439 100644 --- a/engine/core/src/imgui_backend.cpp +++ b/engine/core/src/imgui_backend.cpp @@ -234,7 +234,7 @@ void imgui_backend::begin_frame(const float delta_time) { } for(const auto& dir_ent : std::filesystem::directory_iterator(data.current_path)) { - if(ImGui::Selectable(dir_ent.path().c_str(), data.selected_path == dir_ent.path(), ImGuiSelectableFlags_DontClosePopups)) { + if(ImGui::Selectable(dir_ent.path().string().c_str(), data.selected_path == dir_ent.path(), ImGuiSelectableFlags_DontClosePopups)) { if(dir_ent.is_directory()) data.current_path = dir_ent.path(); else