File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ Window::Window(const Settings& settings)
4141 ImGuiConfigFlags_ViewportsEnable;
4242
4343 // Absolute imgui.ini path to preserve settings independent of app location.
44- static const std::string imgui_ini_filename{m_user_config_path + " imgui.ini" };
44+ static const std::string imgui_ini_filename{m_user_config_path. generic_string () + " imgui.ini" };
4545 io.IniFilename = imgui_ini_filename.c_str ();
4646
4747 // ImGUI font
Original file line number Diff line number Diff line change 22
33#include < SDL3/SDL.h>
44
5+ #include < filesystem>
56#include < string>
67
78#include " Core/Resources.hpp"
@@ -39,7 +40,7 @@ class Window {
3940
4041 bool m_minimized{false };
4142
42- const std::string m_user_config_path{Resources::get_user_config_path ()};
43+ const std::filesystem::path m_user_config_path{Resources::get_user_config_path ()};
4344
4445 bool m_show_some_panel{true };
4546 bool m_show_debug_panel{false };
You can’t perform that action at this time.
0 commit comments