Commit 8910e44d authored by Gauthier Quesnel's avatar Gauthier Quesnel Committed by Gauthier Quesnel
Browse files

win32: fix first element path selection in load/save box

parent 16c7940e
......@@ -211,6 +211,10 @@ struct file_dialog
if (ImGui::Button((const char*)it->u8string().c_str())) {
next->clear();
#if _WIN32
if (it == current.begin())
++it;
#endif
for (auto jt = current.begin(); jt != it; ++jt)
*next /= jt->native();
*next /= it->native();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment