Archived
1
Fork 0

Fix MinGW compiler error

This commit is contained in:
Joshua Goins 2022-02-21 15:29:32 -05:00
parent 138cbf3f4b
commit 8e360fa971

View file

@ -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