We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a0bf57 commit 3edd503Copy full SHA for 3edd503
1 file changed
src/backend.cpp
@@ -22,8 +22,8 @@ void DevTools::setupPlatform() {
22
io.BackendFlags |= ImGuiBackendFlags_HasMouseCursors;
23
24
// use static since imgui does not own the pointer!
25
- static const auto iniPath = (Mod::get()->getSaveDir() / "imgui.ini").string();
26
- io.IniFilename = iniPath.c_str();
+ static const auto iniPath = (Mod::get()->getSaveDir() / "imgui.ini").u8string();
+ io.IniFilename = reinterpret_cast<const char*>(iniPath.c_str());
27
28
unsigned char* pixels;
29
int width, height;
0 commit comments