Fix MinGW compiler error
This commit is contained in:
parent
138cbf3f4b
commit
8e360fa971
1 changed files with 1 additions and 1 deletions
|
@ -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)) {
|
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())
|
if(dir_ent.is_directory())
|
||||||
data.current_path = dir_ent.path();
|
data.current_path = dir_ent.path();
|
||||||
else
|
else
|
||||||
|
|
Reference in a new issue